Skip to content

Default to the latest Claude model in chat_snowflake()#539

Merged
atheriel merged 1 commit into
mainfrom
snowflake-claude-sonnet-3-7-default
May 29, 2025
Merged

Default to the latest Claude model in chat_snowflake()#539
atheriel merged 1 commit into
mainfrom
snowflake-claude-sonnet-3-7-default

Conversation

@atheriel

Copy link
Copy Markdown
Collaborator

This aligns to what we're doing in chat_anthropic().

@atheriel atheriel requested a review from hadley May 29, 2025 11:56

@hadley hadley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you don't mind spending a couple more minutes on this, I think it would be worth defining claude_latest somewhere and then using it here, in chat_anthropic() and in the corresponding param_model() calls in the docs.

@atheriel

Copy link
Copy Markdown
Collaborator Author

Unfortunately Snowflake uses a slightly different naming convention that is incompatible with Anthropic 🙄.

It's also a bit of an issue that Snowflake rolls out models at a slightly different pace than Anthropic, and I think it's wise to default to a model available in most Snowflake regions (which is not always the case, and the main reason why we didn't default to Claude 3.5 Sonnet before). They've also got this complex cross-region thing to consider. All in all I think we'll want to have a slightly different cadence here, at least for now.

This aligns to what we're doing in `chat_anthropic()`.

Signed-off-by: Aaron Jacobs <aaron.jacobs@posit.co>
@atheriel atheriel force-pushed the snowflake-claude-sonnet-3-7-default branch from 381b447 to f89b180 Compare May 29, 2025 12:48

@hadley hadley left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Of course they do 🙄 But good point about the roll out speed.

@atheriel atheriel merged commit ace86ed into main May 29, 2025
8 of 10 checks passed
@atheriel atheriel deleted the snowflake-claude-sonnet-3-7-default branch May 29, 2025 13:33
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