Skip to content

Remove checks for project_id in load_auth() - #468

Closed
ushuz wants to merge 1 commit into
anthropics:mainfrom
ushuz:patch-1
Closed

Remove checks for project_id in load_auth()#468
ushuz wants to merge 1 commit into
anthropics:mainfrom
ushuz:patch-1

Conversation

@ushuz

@ushuz ushuz commented Apr 19, 2024

Copy link
Copy Markdown

AnthropicVertex accepts project_id from the caller. So whether load_auth() could load the project_id from the Google credential should not be a hard requirement.

Right now, if load_auth() can't load the project_id, it raises ValueError and aborts any further execution.

@RobertCraigie

Copy link
Copy Markdown
Collaborator

Hey @ushuz, sorry for the delay in getting to this & thanks for the PR! I've merged a separate change which addresses this issue: #513

@RobertCraigie
RobertCraigie removed their request for review May 22, 2024 12:52
stainless-app Bot pushed a commit that referenced this pull request Aug 18, 2026
… from the package root (#468)

Co-authored-by: Claude <noreply@anthropic.com>
@stainless-app stainless-app Bot mentioned this pull request Aug 18, 2026
stainless-app Bot pushed a commit that referenced this pull request Aug 19, 2026
… from the package root (#468)

Co-authored-by: Claude <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants