Giles Odigwe and GitHub
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 Odigwe and GitHub
f6c4e078ec
Python: Improved AzureAI Package Test Coverage ( #3452 )
...
* improved azureai test coverage
* small fix
* fix failing tests
2026-01-29 18:32:53 +00:00
Eduard van Valkenburg and GitHub
a7d924a7d2
Python: [BREAKING] changed AIFunction to FunctionTool and @ai_function to @tool ( #3413 )
...
* changed AIFunction to FunctionTool and @ai_function to @tool
* test and mypy fixes
* mypy fix
* switch function tool to always_require
* fix noop
* fix github copilot imports
* test fixes
* fix ollama test
* fixes for tests
* fix tests
* reverted change to always_require and extended timeout
* fix test
2026-01-28 14:53:53 +00:00
Evan Mattson and GitHub
7b8777d1fc
Python: add(azure-ai): support reasoning config for AzureAIClient ( #3403 )
...
* add(azure-ai): support reasoning config for AzureAIClient
* Update sample
* Merge main
* improvements
* improve sample
2026-01-23 09:37:23 +00:00
Giles Odigwe and GitHub
88e0ee1a2c
Python: Fix local MCP tools with AzureAIProjectAgentProvider ( #3315 )
...
* azureai v2 local mcp fix
* addressed copilot comments
2026-01-21 12:43:05 +00:00
Dmytro Struk and GitHub
915df3b404
Python: Added rai_config to Azure AI agent creation ( #3265 )
...
* Add kwargs to create_agent method
* Added test for kwargs
* Addressed comment
* Added doc string
2026-01-19 12:51:27 +00:00
Dmytro Struk and GitHub
b773830e4b
Create/Get Agent API - fixes and example improvements ( #3246 )
2026-01-16 04:36:34 +00:00
Dmytro Struk and GitHub
48d124efbe
Python: Create/Get Agent API for Azure V1 ( #3192 )
...
* Added provider implementation for Azure AI V1
* Small fixes
* Fixed OpenAPI example
* Fixed local MCP example
* Fixed hosted MCP example
* Fixed file search sample
* Small fixes
* Resolved comments
* Doc updates
2026-01-15 22:19:03 +00:00
99c5718696
Python: Create/Get Agent API for Azure V2 ( #3059 )
...
* Added get_agent method to Azure AI V2
* Small fixes
* Small fix
* Removed AzureAIAgentProvider
* Added create_agent method
* Small fixes
* Fixed code interpreter tool mapping
* Added agent provider for V2 client
* Updated response format handling
* Added provider example
* Fixed errors
* Update python/samples/getting_started/agents/azure_ai/README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* Small fix
* Updates from merge
* Resolved comments
* Resolved comments
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-01-14 19:35:01 +00:00