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

Finish_reason: length issue #33

Open
GeekTNT opened this issue Feb 11, 2025 · 0 comments
Open

Finish_reason: length issue #33

GeekTNT opened this issue Feb 11, 2025 · 0 comments

Comments

@GeekTNT
Copy link

GeekTNT commented Feb 11, 2025

I have an issue where my responses are quite large and are getting cut-off

"finish_reason":"length"

Is there a way to add an option that I can change the max_tokens number so it doesn't cut off my responses?

Screenshot of the documentation:
https://i.imgur.com/vAPVCuX.png

Documentation
https://api-docs.deepseek.com/api/create-chat-completion

Thank you

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

1 participant