You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 942e809
Browse filesBrowse the repository at this point in the historyBrowse files
Fix compatibility with agent-framework-core 1.0.0rc4 and openai 2.x (#201)
* Fix compatibility with agent-framework-core 1.0.0rc4 and openai 2.x
Update microsoft-agents-a365-tooling-extensions-agentframework to use
renamed APIs introduced in agent-framework-core 1.0.0rc4:
- ChatAgent -> RawAgent
- ChatMessage -> Message
- ChatMessageStoreProtocol -> BaseHistoryProvider
- Constructor kwarg chat_client= -> client=
- Store method list_messages() -> get_messages()
Upgrade constraints and lock file:
- agent-framework-azure-ai: >=1.0.0b251114 -> >=1.0.0rc4 (1.0.0rc4)
- agent-framework-core: 1.0.0b260130 -> 1.0.0rc4
- openai: >=1.0.0 -> >=2.0.0 (2.28.0, required by rc4)
- openai-agents: 0.3.3 -> 0.4.2
- semantic-kernel: 1.39.4 -> 1.41.0
Update integration test (test_agentframework_trace_processor.py) and
unit tests to use the new API names.
* Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* Fix docstring and return type issues in McpToolRegistrationService
- Correct return type of add_tool_servers_to_agent from Optional[RawAgent] to RawAgent
- Update docstring to reference RawAgent instead of stale chat agent
- Fix docstring example to use string role user instead of undefined Role.USER
---------
Copy file name to clipboardExpand all lines: libraries/microsoft-agents-a365-tooling-extensions-agentframework/microsoft_agents_a365/tooling/extensions/agentframework/services/mcp_tool_registration_service.py
+22-19Lines changed: 22 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
fromdatetimeimportdatetime, timezone
7
7
fromtypingimportAny, List, Optional, Sequence, Union
0 commit comments