|
@@ -64,6 +64,7 @@ async def create_run(
|
|
|
event_handler.pub_run_created(db_run)
|
|
|
event_handler.pub_run_queued(db_run)
|
|
|
print("22222233333333333344444444444444444555555555555555556")
|
|
|
+ print(token_id)
|
|
|
# print(run_task)
|
|
|
run_task.apply_async(args=(db_run.id, token_id, body.stream))
|
|
|
print("22222222222222222222222222222222")
|
|
@@ -196,6 +197,10 @@ async def submit_tool_outputs_to_run(
|
|
|
this endpoint can be used to submit the outputs from the tool calls once they're all completed.
|
|
|
All outputs must be submitted in a single request.
|
|
|
"""
|
|
|
+ print(
|
|
|
+ "submit_tool_outputs_to_runsubmit_tool_outputs_to_runsubmit_tool_outputs_to_runsubmit_tool_outputs_to_runsubmit_tool_outputs_to_run"
|
|
|
+ )
|
|
|
+ print(token_id)
|
|
|
db_run = await RunService.submit_tool_outputs_to_run(
|
|
|
session=session, thread_id=thread_id, run_id=run_id, body=body
|
|
|
)
|