-
Notifications
You must be signed in to change notification settings - Fork 890
Add support for reasoning_content
from DeepSeek R1
#731
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
Comments
Thanks, should be possible, we'll need to think about how. |
Can the DeepSeek R1 model use tools? |
@achimstruve According to this, not yet |
I created a simple project to implement deepclaude-style-agent: https://github.com/Wh1isper/pydantic-ai-deepagent, making models such as claude can use deepseek r1's thinking as a reference for tool use. Check the example. Hope this helps :D |
Let's use a single issue to track reasoning/thinking. |
Uh oh!
There was an error while loading. Please reload this page.
New DeepSeek reasoning model outputs
reasoning_content
in messages alongside the regularcontent
. See their API docs here.Requested feature is to be able to access this reasoning content from the
Agent.run()
response. According to their docs for multi-turn conversations, reasoning should not be passed back into the messages, so there will need to be consideration of that in the API.Appreciate your work here, I'm loving the framework so far!
EDIT: OpenRouter supports this content now too, but in a diff format: https://openrouter.ai/announcements/reasoning-tokens-for-thinking-models
The text was updated successfully, but these errors were encountered: