Skip to content

Commit

Permalink
Make project_id and region mandatory params
Browse files Browse the repository at this point in the history
  • Loading branch information
Amnah199 committed Nov 15, 2024
1 parent 6590007 commit bf65c61
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ class AnthropicVertexChatGenerator(AnthropicChatGenerator):

def __init__(
self,
region: Optional[str] = "us-central1",
project_id: Optional[str] = None,
region: str = "us-central1",
project_id: str = "gcp-project-id",
model: str = "claude-3-5-sonnet@20240620",
streaming_callback: Optional[Callable[[StreamingChunk], None]] = None,
generation_kwargs: Optional[Dict[str, Any]] = None,
Expand Down

0 comments on commit bf65c61

Please sign in to comment.