Skip to content

Commit

Permalink
refactor: Lint agents-api (CI)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vedantsahai18 authored and github-actions[bot] committed Nov 2, 2024
1 parent 355c970 commit 6eb1c0d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions agents-api/agents_api/activities/task_steps/prompt_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,10 @@ async def prompt_step(context: StepContext) -> StepOutcome:

# Filter tools for specific types
filtered_tools = [
tool for tool in formatted_tools
if tool["type"] in ["computer_20241022", "bash_20241022", "text_editor_20241022"]
tool
for tool in formatted_tools
if tool["type"]
in ["computer_20241022", "bash_20241022", "text_editor_20241022"]
]

# Claude Response
Expand Down

0 comments on commit 6eb1c0d

Please sign in to comment.