Skip to content

Commit

Permalink
Fixing what I hope is the last of the linting issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkindlund committed Jan 7, 2025
1 parent 5177b9e commit 87f3c90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions computer-use-demo/computer_use_demo/loop.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from collections.abc import Callable
from datetime import datetime
from enum import StrEnum
from typing import Any, cast
from typing import Any, Optional, cast

import httpx
from anthropic import (
Expand Down Expand Up @@ -81,7 +81,7 @@ async def sampling_loop(
api_response_callback: Callable[
[httpx.Request, httpx.Response | object | None, Exception | None], None
],
api_key: str,
api_key: Optional[str] = None,
only_n_most_recent_images: int | None = None,
max_tokens: int = 4096,
):
Expand Down

0 comments on commit 87f3c90

Please sign in to comment.