File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 11import azure .functions as func
2-
3- from agents import (
4- ModelResponse ,
5- )
6-
2+ from agents import ModelResponse
73from agents .run import set_default_agent_runner
84from durable_openai_runner import DurableOpenAIRunner
95from yield_exception import YieldException
106from activity_call_tracker import ActivityCallTracker
7+ from model_invoker import ModelInvoker , ActivityModelInput
118
129app = func .FunctionApp (http_auth_level = func .AuthLevel .FUNCTION )
1310
@@ -39,9 +36,6 @@ def basic_hello_world_orchestrator(context):
3936
4037@app .activity_trigger (input_name = "input" )
4138async def invoke_model_activity (input : str ):
42- from model_invoker import ModelInvoker , ActivityModelInput
43-
44- # Deserialize input string into ActivityModelInput object
4539 activity_input = ActivityModelInput .from_json (input )
4640
4741 model_invoker = ModelInvoker ()
You can’t perform that action at this time.
0 commit comments