mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Python: added AIAnnotation types and extra tests (#374)
* added AIAnnotation types and extra tests * fixed typing and such * use copy * fix raw representation for add * handle annotations in add * clarified concat * self to first
This commit is contained in:
committed by
GitHub
Unverified
parent
8f27e63df6
commit
82d39bc1f7
@@ -39,7 +39,7 @@ __all__ = [
|
||||
"use_tool_calling",
|
||||
]
|
||||
|
||||
# region: Tool Calling Functions and Decorators
|
||||
# region Tool Calling Functions and Decorators
|
||||
|
||||
|
||||
async def _auto_invoke_function(
|
||||
@@ -253,7 +253,7 @@ def use_tool_calling(cls: type[TChatClientBase]) -> type[TChatClientBase]:
|
||||
return cls
|
||||
|
||||
|
||||
# region: ChatClient Protocol
|
||||
# region ChatClient Protocol
|
||||
|
||||
|
||||
@runtime_checkable
|
||||
@@ -675,7 +675,7 @@ class ChatClientBase(AFBaseModel, ABC):
|
||||
return ChatClientAgent(chat_client=self, name=name, instructions=instructions, tools=tools, **kwargs)
|
||||
|
||||
|
||||
# region: Embedding Client
|
||||
# region Embedding Client
|
||||
|
||||
|
||||
@runtime_checkable
|
||||
|
||||
Reference in New Issue
Block a user