Skip to content

Commit 9c4e7ee

Browse files
CopilotTGreen87
andauthored
Resolve merge conflicts and improve code style consistency (#11)
* Initial plan for issue * Initial assessment of changes required for PR #8 Co-authored-by: TGreen87 <170493160+TGreen87@users.noreply.github.com> * Complete code style consistency implementation Co-authored-by: TGreen87 <170493160+TGreen87@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: TGreen87 <170493160+TGreen87@users.noreply.github.com>
1 parent 3b54f20 commit 9c4e7ee

File tree

2 files changed

+1713
-1702
lines changed

2 files changed

+1713
-1702
lines changed

src/agents/_run_impl.py

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -878,21 +878,21 @@ async def execute(
878878
"image_id": image_id,
879879
}
880880
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+
)
890890

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,
896896
) -> str:
897897
action = tool_call.action
898898
if isinstance(action, ActionClick):

0 commit comments

Comments
 (0)