This description was created by Ellipsis for commit fa05cd1e1d1330a4bacf2f45f706d5d9fed61b65
Summary:
This PR updates chat and entry typespec models to include tool calls, modifying both Python and TypeScript files to handle tool call data in chat outputs.
Key points:
UpdatedMessageModel in agents-api/agents_api/autogen/Chat.py to include tool_calls.
ModifiedMultipleChatOutput and SingleChatOutput to use MessageModel.
Addedtool_calls to TypeScript models in sdks/ts/src/api/models/Chat_MultipleChatOutput.ts and Chat_SingleChatOutput.ts.
Updated TypeScript schemas in sdks/ts/src/api/schemas/$Chat_MultipleChatOutput.ts and $Chat_SingleChatOutput.ts to include tool_calls.
Adjusted TypeSpec models in typespec/chat/models.tsp and typespec/entries/models.tsp to support optional tool_calls.
Removed unused import in agents-api/tests/utils.py.
Signed-off-by: Diwank Singh Tomer diwank.singh@gmail.com
Summary:
This PR updates chat and entry typespec models to include tool calls, modifying both Python and TypeScript files to handle tool call data in chat outputs.
Key points:
MessageModel
inagents-api/agents_api/autogen/Chat.py
to includetool_calls
.MultipleChatOutput
andSingleChatOutput
to useMessageModel
.tool_calls
to TypeScript models insdks/ts/src/api/models/Chat_MultipleChatOutput.ts
andChat_SingleChatOutput.ts
.sdks/ts/src/api/schemas/$Chat_MultipleChatOutput.ts
and$Chat_SingleChatOutput.ts
to includetool_calls
.typespec/chat/models.tsp
andtypespec/entries/models.tsp
to support optionaltool_calls
.agents-api/tests/utils.py
.Generated with :heart: by ellipsis.dev