Skip to content

Commit 241f2cd

Browse files
black and remove unnessary items pip list from code formatting CI/CD.
1 parent a41baaf commit 241f2cd

File tree

3 files changed

+4
-10
lines changed

3 files changed

+4
-10
lines changed

.github/workflows/code_format.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,10 @@ jobs:
2424
enable-cache: true
2525

2626
- name: Set up Python
27-
run: uv python install 3.11
27+
run: uv python install 3.12
2828

2929
- name: Install dependencies
3030
run: uv sync --frozen
3131

32-
- name: List packages
33-
run: uv pip list
34-
3532
- name: Code Formatting
3633
run: uv run black src/ --check --diff

.github/workflows/darglint.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,5 @@ jobs:
2929
- name: Install dependencies
3030
run: uv sync --frozen
3131

32-
- name: List packages
33-
run: uv pip list
34-
3532
- name: Darglint checks
3633
run: uv run darglint -v 2 -z short src/

src/agentlab/agents/tool_use_agent/cua_like_agent.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def apply(
281281
self.overlay_last_screenshot_with_action(
282282
discussion, obs["last_action"], self._last_observation
283283
)
284-
284+
285285
obs_msg.add_image(image_to_png_base64_url(screenshot))
286286
if self.use_axtree:
287287
obs_msg.add_text(f"AXTree:\n{AXTREE_NOTE}\n{obs['axtree_txt']}")
@@ -617,7 +617,7 @@ def get_action(self, obs: Any) -> float:
617617
APIPayload(
618618
messages=messages,
619619
tools=self.tools,
620-
tool_choice="any",
620+
tool_choice="any",
621621
cache_tool_definition=True,
622622
cache_complete_prompt=False,
623623
use_cache_breakpoints=True,
@@ -631,7 +631,7 @@ def get_action(self, obs: Any) -> float:
631631
think = response.think
632632

633633
if action is None and self.config.use_noop_as_default_action:
634-
action = "noop()"
634+
action = "noop()"
635635

636636
last_summary = self.discussion.get_last_summary()
637637
if last_summary is not None:

0 commit comments

Comments
 (0)