File tree Expand file tree Collapse file tree 2 files changed +1
-26
lines changed
Expand file tree Collapse file tree 2 files changed +1
-26
lines changed Original file line number Diff line number Diff line change 1- import asyncio
21import logging
3- from typing import Any , Callable , Optional
2+ from typing import Any
43from activity_call_tracker import ActivityCallTracker
5- import azure .functions as func
6- import azure .durable_functions as df
74
85import json
9- import typing
106from dataclasses import replace
117from typing import Any , Union
128
1511 RunConfig ,
1612 RunResult ,
1713 RunResultStreaming ,
18- SQLiteSession ,
1914 TContext ,
20- Tool ,
2115 TResponseInputItem ,
2216)
2317from agents .run import DEFAULT_AGENT_RUNNER , DEFAULT_MAX_TURNS , AgentRunner
Original file line number Diff line number Diff line change 1- from typing import Any
21import azure .functions as func
3- import logging
42
53from agents import (
6- AgentOutputSchemaBase ,
7- CodeInterpreterTool ,
8- FileSearchTool ,
9- FunctionTool ,
10- Handoff ,
11- HostedMCPTool ,
12- ImageGenerationTool ,
13- ModelProvider ,
144 ModelResponse ,
15- ModelSettings ,
16- ModelTracing ,
17- OpenAIProvider ,
18- RunContextWrapper ,
19- Tool ,
20- TResponseInputItem ,
21- UserError ,
22- WebSearchTool ,
235)
246
257from agents .run import set_default_agent_runner
@@ -62,7 +44,6 @@ def basic_hello_world_orchestrator(context):
6244@app .activity_trigger (input_name = "input" )
6345async def invoke_model_activity (input : str ):
6446 from _invoke_model_activity import ModelInvoker , ActivityModelInput
65- from pydantic_core import to_json
6647
6748 # Deserialize input string into ActivityModelInput object
6849 activity_input = ActivityModelInput .from_json (input )
You can’t perform that action at this time.
0 commit comments