-
Notifications
You must be signed in to change notification settings - Fork 62
Bugfix for 0 4 0 release #208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
74097cf
Unreviewed agent output: make chat and embed interfaces provider-agno…
gvanrossum-ms d59d7b6
Agent step 2 -- unreviewed
gvanrossum-ms ff733f5
Agent step 3 -- unreviewed -- use Pydantic's model registry
gvanrossum-ms 1015737
Don't hardcode an incomplete table of embedding sizes
gvanrossum-ms 4bd1387
Fix test failures
gvanrossum-ms 60aa403
Rename model_registry -> model_adapters
gvanrossum-ms 067f3b9
Move pydantic-ai to main deps
gvanrossum 17b959f
Remove obsolete create_embedding_model -- wasn't easy
gvanrossum 76621b4
Merge branch 'main' into agnostic
gvanrossum-ms 6f1286f
Fix test_configure_models_returns_correct_types
gvanrossum-ms 83d6f0a
Fall back on Azure for OpenAI models if only Azure key is present
gvanrossum-ms 2659f30
Use embed_documents() instead of embed(input_type=["document"])
gvanrossum-ms 2b8735b
Fix the mcp test. We now do the right thing with azure endpoint env v…
gvanrossum-ms 05183d9
Remove AsyncEmbeddingModel; migrate all tests to PydanticAIEmbeddingM…
gvanrossum-ms dec2e6f
Move in-function imports to module level in tests/
gvanrossum-ms 909247d
Don't re-export create_typechat_model from convknowledge.py
gvanrossum-ms 8807cc5
Remove redundant tests that Chat/Embedding models subclass their prot…
gvanrossum-ms 68d3082
Avoid type-ignore in favor of isinstance
gvanrossum-ms 3697f89
Remove ModelWrapper, create_typechat_model; use create_chat_model eve…
gvanrossum-ms 087b7a3
Split up *EmbeddingModel into IEmbedder and CachingEmbeddingModel
gvanrossum-ms 43894bd
Remove max_retries everywhere -- this is now under Pydantic control
gvanrossum-ms 910a99b
Remove embedding_size argument everywhere. Handle it internally
gvanrossum-ms 091bd58
Change default embedding back to ada-002 for backwards compatibility
gvanrossum-ms 7c1c527
Add OPENAI_EMBEDDING_MODEL envvar to set the text embedding (e.g. tex…
gvanrossum-ms 400f869
speed optimization:
bmerkle 1cf46b4
parse_azure_endpoint regex missed & separator [?,]
bmerkle aab0eee
added test for parsing azure endpoint urls
bmerkle 4e9127a
fixed parse_azure_endpoint tests
bmerkle f6ae405
1st change:
bmerkle 9c7d37a
The original __repr__ used dir(self), which returns all attributes on…
bmerkle 6e6972e
facets_to_merged_facets used str(facet) instead of str(facet.value)
bmerkle ccb96f2
Remove duplicate __all__ in interfaces_search.py
bmerkle b4d4a40
when cur_chunk was empty (i.e. at the very start, or right after yiel…
bmerkle b52910b
format
bmerkle b7fd4a9
removed bare import coverage at the top level.
bmerkle 0f413fa
dir(self)lists all attributes on the object including inherited methods,
bmerkle 996ebf0
for objects that don't have .ordinal, the code would crash with Attr…
bmerkle 84e90b8
Merge branch 'main' into bugfix-for-0-4-0-release
bmerkle f0749e1
Clean up import statements in test_utils.py
bmerkle 4611d84
removed invalid , (comma) in URL specification and updated test
bmerkle 77d06be
- fixed implementation to match the corrected half-open interval sema…
bmerkle 3a69313
- used aenumerate in the for loop
bmerkle 70bc27d
Merged all content from test_mcp_server_unit.py into test_mcp_server.py
bmerkle d4014cf
explained the additiona if guard
bmerkle c351f16
renamed is_in_range() to contains_range()
bmerkle 5300f09
changed method to clone()
bmerkle bd0d329
restored commit 582175ce42dd487e779f7da0eee85cb0e2fbe6de
bmerkle b32e8a2
- each instance gets its own set
bmerkle c602cf7
removed comments
bmerkle 0bf1904
- small refactoring
bmerkle 9382891
fix for filtered
bmerkle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.