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

Dynamic tools #157

Merged
merged 17 commits into from
Dec 8, 2024
Merged

Dynamic tools #157

merged 17 commits into from
Dec 8, 2024

Conversation

samuelcolvin
Copy link
Member

@samuelcolvin samuelcolvin commented Dec 6, 2024

As suggested by @jxnl.

This allows tools to be switched off and customized in specific steps, it's a step towards #110.

Breaking change: this will cause some breaking changes to the public API as we simplified the signature of Model.agent_model and downstream types.

Copy link

cloudflare-workers-and-pages bot commented Dec 6, 2024

Deploying pydantic-ai with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9aa4493
Status: ✅  Deploy successful!
Preview URL: https://c4c0e80b.pydantic-ai.pages.dev
Branch Preview URL: https://dynamic-tools.pydantic-ai.pages.dev

View logs

@sydney-runkle sydney-runkle mentioned this pull request Dec 6, 2024
Copy link
Contributor

@hyperlint-ai hyperlint-ai bot left a comment

Choose a reason for hiding this comment

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

The style guide flagged several spelling errors that seemed like false positives. We skipped posting inline suggestions for the following words:

  • Ollama

Copy link
Contributor

@hyperlint-ai hyperlint-ai bot left a comment

Choose a reason for hiding this comment

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

The style guide flagged several spelling errors that seemed like false positives. We skipped posting inline suggestions for the following words:

  • [Pp]ydantic
  • [Dd]ataclass

@samuelcolvin samuelcolvin merged commit 33230c4 into main Dec 8, 2024
16 checks passed
@samuelcolvin samuelcolvin deleted the dynamic-tools branch December 8, 2024 14:20
This was referenced Dec 8, 2024
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.

1 participant