Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
74097cf
Unreviewed agent output: make chat and embed interfaces provider-agno…
gvanrossum-ms Feb 17, 2026
d59d7b6
Agent step 2 -- unreviewed
gvanrossum-ms Feb 17, 2026
ff733f5
Agent step 3 -- unreviewed -- use Pydantic's model registry
gvanrossum-ms Feb 17, 2026
1015737
Don't hardcode an incomplete table of embedding sizes
gvanrossum-ms Feb 18, 2026
4bd1387
Fix test failures
gvanrossum-ms Feb 18, 2026
60aa403
Rename model_registry -> model_adapters
gvanrossum-ms Feb 18, 2026
067f3b9
Move pydantic-ai to main deps
gvanrossum Feb 24, 2026
17b959f
Remove obsolete create_embedding_model -- wasn't easy
gvanrossum Feb 25, 2026
76621b4
Merge branch 'main' into agnostic
gvanrossum-ms Feb 25, 2026
6f1286f
Fix test_configure_models_returns_correct_types
gvanrossum-ms Feb 25, 2026
83d6f0a
Fall back on Azure for OpenAI models if only Azure key is present
gvanrossum-ms Feb 25, 2026
2659f30
Use embed_documents() instead of embed(input_type=["document"])
gvanrossum-ms Feb 25, 2026
2b8735b
Fix the mcp test. We now do the right thing with azure endpoint env v…
gvanrossum-ms Feb 25, 2026
05183d9
Remove AsyncEmbeddingModel; migrate all tests to PydanticAIEmbeddingM…
gvanrossum-ms Feb 25, 2026
dec2e6f
Move in-function imports to module level in tests/
gvanrossum-ms Feb 25, 2026
909247d
Don't re-export create_typechat_model from convknowledge.py
gvanrossum-ms Feb 25, 2026
8807cc5
Remove redundant tests that Chat/Embedding models subclass their prot…
gvanrossum-ms Feb 25, 2026
68d3082
Avoid type-ignore in favor of isinstance
gvanrossum-ms Feb 25, 2026
3697f89
Remove ModelWrapper, create_typechat_model; use create_chat_model eve…
gvanrossum-ms Feb 25, 2026
087b7a3
Split up *EmbeddingModel into IEmbedder and CachingEmbeddingModel
gvanrossum-ms Feb 26, 2026
43894bd
Remove max_retries everywhere -- this is now under Pydantic control
gvanrossum-ms Feb 26, 2026
910a99b
Remove embedding_size argument everywhere. Handle it internally
gvanrossum-ms Feb 26, 2026
091bd58
Change default embedding back to ada-002 for backwards compatibility
gvanrossum-ms Feb 26, 2026
7c1c527
Add OPENAI_EMBEDDING_MODEL envvar to set the text embedding (e.g. tex…
gvanrossum-ms Feb 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,6 @@ please follow these guidelines:

* **Code Validation**: Don't use `py_compile` for syntax checking.
Use `pyright` or `make check` instead for proper type checking and validation.

* **Deprecations**: Don't deprecate things -- just delete them and fix the usage sites.
Don't create backward compatibility APIs or exports or whatever. Fix the usage sites.
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ dependencies = [
"numpy>=2.2.6",
"openai>=1.81.0",
"pydantic>=2.11.4",
"pydantic-ai-slim[openai]>=1.39.0",
"pyreadline3>=3.5.4 ; sys_platform == 'win32'",
"python-dotenv>=1.1.0",
"tiktoken>=0.12.0",
Expand Down Expand Up @@ -85,11 +86,10 @@ dev = [
"google-auth-httplib2>=0.2.0",
"google-auth-oauthlib>=1.2.2",
"isort>=7.0.0",
"logfire>=4.1.0", # So 'make check' passes
"logfire>=4.1.0", # So 'make check' passes
"msgraph-sdk>=1.54.0",
"opentelemetry-instrumentation-httpx>=0.57b0",
"pydantic-ai-slim[openai]>=1.39.0",
"pyright>=1.1.408", # 407 has a regression
"pyright>=1.1.408", # 407 has a regression
"pytest>=8.3.5",
"pytest-asyncio>=0.26.0",
"pytest-mock>=3.14.0",
Expand Down
Loading
Loading