Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Default Models Anthropic/Bedrock #1770

Merged
merged 2 commits into from
Mar 4, 2025
Merged

Conversation

collindutter
Copy link
Member

@collindutter collindutter commented Feb 25, 2025

Describe your changes

Updates default models in Driver Configs.
BEGIN_COMMIT_OVERRIDE
feat(drivers): update default models to latest for Anthropic/Bedrock Driver Configs
END_COMMIT_OVERRIDE

Issue ticket number and link

Closes #1488


📚 Documentation preview 📚: https://griptape--1770.org.readthedocs.build//1770/

@collindutter collindutter requested a review from a team February 25, 2025 21:28
@collindutter collindutter mentioned this pull request Feb 25, 2025
5 tasks
@collindutter collindutter self-assigned this Feb 25, 2025
Copy link

codecov bot commented Feb 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@collindutter collindutter added this to the 1.5 milestone Mar 3, 2025
@collindutter collindutter enabled auto-merge March 3, 2025 21:11
@collindutter collindutter force-pushed the feature/anthropic branch 3 times, most recently from 554dd51 to 3539000 Compare March 4, 2025 00:13
@@ -28,7 +28,7 @@ def on_after_run(_: BaseTask) -> None:
agent = Agent(
tasks=[
PromptTask(
prompt_driver=AnthropicPromptDriver(model="claude-3-5-sonnet-20240620", max_attempts=0),
prompt_driver=AnthropicPromptDriver(model="claude-3-7-sonnet-latest", max_attempts=0),
Copy link
Contributor

Choose a reason for hiding this comment

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

Could Griptape provide some managed Enums that point to latest/default models? I imagine someone building off this example but wanting to get the latest X.Y sonnet model when Griptape updates

Copy link
Member Author

Choose a reason for hiding this comment

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

This is probably the better long term approach. And if users want the latest defaults, they should use Driver Configs.

@collindutter collindutter added this pull request to the merge queue Mar 4, 2025
Merged via the queue into main with commit b3e4b68 Mar 4, 2025
15 checks passed
@collindutter collindutter deleted the feature/anthropic branch March 4, 2025 16:52
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.

Update Driver Config Models
2 participants