File tree 2 files changed +1713
-1702
lines changed 2 files changed +1713
-1702
lines changed Original file line number Diff line number Diff line change @@ -878,21 +878,21 @@ async def execute(
878
878
"image_id" : image_id ,
879
879
}
880
880
final_output = image_id
881
- return ToolCallOutputItem (
882
- agent = agent ,
883
- output = final_output ,
884
- raw_item = ComputerCallOutput (
885
- call_id = action .tool_call .call_id ,
886
- output = raw_output ,
887
- type = "computer_call_output" ,
888
- ),
889
- )
881
+ return ToolCallOutputItem (
882
+ agent = agent ,
883
+ output = final_output ,
884
+ raw_item = ComputerCallOutput (
885
+ call_id = action .tool_call .call_id ,
886
+ output = raw_output ,
887
+ type = "computer_call_output" ,
888
+ ),
889
+ )
890
890
891
- @classmethod
892
- async def _get_screenshot_sync (
893
- cls ,
894
- computer : Computer ,
895
- tool_call : ResponseComputerToolCall ,
891
+ @classmethod
892
+ async def _get_screenshot_sync (
893
+ cls ,
894
+ computer : Computer ,
895
+ tool_call : ResponseComputerToolCall ,
896
896
) -> str :
897
897
action = tool_call .action
898
898
if isinstance (action , ActionClick ):
You can’t perform that action at this time.
0 commit comments