[!IMPORTANT]
This PR updates the handling of integrations and systems by adding new models, updating workflows, and modifying session options, along with dependency updates and a migration script.
Behavior:
Adds execute_integration function in execute_integration.py to handle integration tool calls.
Updates prompt_step.py to handle unwrapping of prompt responses and tool call results.
Modifies tool_call_step.py to handle tool calls using Tool model.
Models:
Adds IntegrationDef and SystemDef models in Tools.py.
Updates CreateToolRequest, PatchToolRequest, UpdateToolRequest, and Tool to use IntegrationDef and SystemDef.
Adds forward_tool_results option to session models in Sessions.py.
Workflow:
Updates TaskExecutionWorkflow in task_execution/__init__.py to handle integration tool calls.
Dependencies:
Updates @typespec/* dependencies in package.json to version 0.60.x.
Migration:
Adds migration script migrate_1727235852_add_forward_tool_calls_option.py to add forward_tool_calls option to sessions.
This description was created by for a49aa123e96125fc45e33839bd7e90a708088b70. It will automatically update as commits are pushed.
Signed-off-by: Diwank Singh Tomer diwank.singh@gmail.com