From 152054957cc726dc2fe635b125bd9a4b160241e9 Mon Sep 17 00:00:00 2001 From: Chandu Neerati <129150574+NeeratiChandu@users.noreply.github.com> Date: Tue, 17 Mar 2026 11:52:35 +0530 Subject: [PATCH] Update model README.md Include purpose of models and testing details --- app/models/README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/models/README.md b/app/models/README.md index cb39aeb..d24cca3 100644 --- a/app/models/README.md +++ b/app/models/README.md @@ -11,5 +11,12 @@ Single interface for OpenAI/Claude LLMs. Switch providers with one config change - **Factory**: `LLMFactory.create()` - auto-detects best available provider - **Type Safety**: Full Pydantic + type hints for agent tooling -## 🏗️ Architecture +# Unit tests +pytest tests/test_models.py +# Connection test (requires API key) +python -c "from app.models import test_connection; test_connection(True)" + +# Live test +uvicorn app.main:app --reload +# Visit http://localhost:8000/docs