Skip to content

Commit

Permalink
Oops.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkindlund committed Jan 7, 2025
1 parent 5c6b75d commit 12b1021
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions computer-use-demo/computer_use_demo/batch_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ async def run_task(task_id: str, prompt: str, provider: APIProvider, model: str,

messages = [
BetaMessageParam(

Check failure on line 230 in computer-use-demo/computer_use_demo/batch_api.py

View workflow job for this annotation

GitHub Actions / pyright

"BetaMessageParam" is not defined (reportUndefinedVariable)
"role": "user",
"content": [{"type": "text", "text": prompt}]
"role"="user",

Check failure on line 231 in computer-use-demo/computer_use_demo/batch_api.py

View workflow job for this annotation

GitHub Actions / pyright

Expected parameter name

Check failure on line 231 in computer-use-demo/computer_use_demo/batch_api.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff

computer-use-demo/computer_use_demo/batch_api.py:231:17: SyntaxError: Expected a parameter name
"content"=[{"type": "text", "text": prompt}]

Check failure on line 232 in computer-use-demo/computer_use_demo/batch_api.py

View workflow job for this annotation

GitHub Actions / pyright

Expected parameter name

Check failure on line 232 in computer-use-demo/computer_use_demo/batch_api.py

View workflow job for this annotation

GitHub Actions / ruff

Ruff

computer-use-demo/computer_use_demo/batch_api.py:232:17: SyntaxError: Expected a parameter name
)
]

Expand Down

0 comments on commit 12b1021

Please sign in to comment.