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

Workers AI lacks the first <think> tag for R1 model making it difficult to extract the reasoning tag #16

Open
thomasgauvin opened this issue Feb 9, 2025 · 1 comment

Comments

@thomasgauvin
Copy link

thomasgauvin commented Feb 9, 2025

Example model: @cf/deepseek-ai/deepseek-r1-distill-qwen-32b

Repro:
Image

@thomasgauvin thomasgauvin changed the title Workers AI lacks the first <think> tag making it difficult to extract the reasoning tag Workers AI lacks the first <think> tag for R1 model making it difficult to extract the reasoning tag Feb 9, 2025
@andyjessop
Copy link
Collaborator

Thanks for reporting @thomasgauvin! I don't think that this is something that can be fixed in this provider - it likely needs updates to the Workers AI prompt template.

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

No branches or pull requests

2 participants