 Giles OdigweandGitHub
|
7a88af0aef
|
Python: [BREAKING] Replace Hosted*Tool classes with tool methods (#3634)
* Replace Hosted*Tool classes with client static factory methods
* fixed failing test
* mypy fix
* mypy fix 2
* declarative mypy fix
* addressed comments
* ToolProtocol removal
* fixed test
* agents mypy fix
* fix failing tests
* mypy fix
* addressed comments
* fixed tests
* addressed comments + added factory method overrides for azureai v2 client
* mypy fix
* added kwargs to azureai tool methods
* fixed in test
* _sessions fix
* test fix
|
2026-02-11 00:04:27 +00:00 |
|
 
|
0521f5bed8
|
Python: [BREAKING] Simplify API: ChatAgent -> Agent, ChatMessage -> Message (#3747)
* [BREAKING] Rename ChatAgent -> Agent, ChatMessage -> Message, ChatClientProtocol -> SupportsChatGetResponse
Simplify the public API by removing redundant 'Chat' prefix from core types:
- ChatAgent -> Agent
- RawChatAgent -> RawAgent
- ChatMessage -> Message
- ChatClientProtocol -> SupportsChatGetResponse
Also renamed internal WorkflowMessage (was Message in _runner_context) to avoid collision.
No backward compatibility aliases - this is a clean breaking change.
* [BREAKING] Rename Agent chat_client parameter to client
* Fix rebase issues: WorkflowMessage references and broken markdown links
* Fix formatting and lint issues from code quality checks
* Fix import ordering in workflow sample files
* fixed rebase
* Fix test failures: use WorkflowMessage and A2AMessage after ChatMessage→Message rename
- Replace Message(data=..., source_id=...) with WorkflowMessage(...) in workflow tests
- Fix isinstance check in A2A agent to use A2AMessage instead of Message
- Fix import in test_workflow_observability.py (Message→WorkflowMessage)
* Fix lint, fmt, and sample errors after ChatMessage→Message rename
- Auto-fix 70+ ruff lint issues across samples (ChatMessage→Message refs)
- Fix HostedVectorStoreContent→Content.from_hosted_vector_store in file search sample
- Fix _normalize_messages→normalize_messages in custom agent sample
- Fix context.terminate→raise MiddlewareTermination in middleware samples
- Fix with_update_hook→with_transform_hook in override middleware sample
- Add TOptions_co import back to custom_chat_client sample
- Add noqa for FastAPI File() default in chatkit sample
- Fix B023 loop variable capture in weather agent sample
* fix: update Agent constructor calls from chat_client to client in declaration-only tool tests
* fix: add register_cleanup to devui lazy-loading proxy and type stub
* fixed tests and updated new pieces
* fix agui typevar
* fix merge errors
* fix merge conflicts
* fiux merge
* Remove unused links
---------
Co-authored-by: Evan Mattson <evan.mattson@microsoft.com>
|
2026-02-10 23:04:32 +00:00 |
|
 Giles OdigweandGitHub
|
f5f909f2e2
|
Python: Added Azure OpenAI Responses File Search sample + Integration test update (#2645)
* added azure responses file search sample + int test update
* sample update to use token credential
|
2025-12-05 19:01:48 +00:00 |
|
 Giles OdigweandGitHub
|
2059e7b3e8
|
Python: Azure AI Search Support Update + Refactored Samples & Unit Tests (#1683)
* azure ai search sample update
* azure ai search update
* small fix
|
2025-10-30 02:30:06 +00:00 |
|
 Giles OdigweandGitHub
|
b88143b686
|
Agents + Chat Client Samples Doctsring Updates (#1028)
* agents + chat client samples doctsring updates
* fixes
|
2025-10-01 07:18:53 +00:00 |
|
 Eduard van ValkenburgandGitHub
|
9355329dfd
|
Python: [BREAKING] updated structure and samples (#875)
* updated structure and samples
* updated names and removed cross tests
* updated projects etc
* updated tests
* updated test
* test fixes
* removed devui for now
* updated all-tests task
* removed old style configs
* remove coverage from tests
* updated to unit tests with all-tests
* updated foundry everywhere
* fix azure ai tests
* fix merge tests
* fix mypy
|
2025-09-25 07:02:53 +00:00 |
|