θΏ™ζ˜―indexlocζδΎ›ηš„ζœεŠ‘οΌŒδΈθ¦θΎ“ε…₯任何密码
Skip to content

handle no thoughts in container #3758

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

Merged
merged 2 commits into from
May 2, 2025
Merged

Conversation

timothycarambat
Copy link
Member

Pull Request Type

  • ✨ feat
  • πŸ› fix
  • ♻️ refactor
  • πŸ’„ style
  • πŸ”¨ chore
  • πŸ“ docs

Relevant Issues

resolves #3757

What is in this change?

  • Handle /no_think and otherwise empty thought blocks on reasoning models.

Additional Information

  • use imperative handler to handle thoughtless streaming and complete responses

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

use imperative handler to handle thoughtless streaming and complete responses
@timothycarambat timothycarambat merged commit 84cf6e0 into master May 2, 2025
@timothycarambat timothycarambat deleted the 3757-no-thoughts-handler branch May 2, 2025 23:08
cabwds pushed a commit to cabwds/anything-llm that referenced this pull request Jul 3, 2025
* handle no thoughts in container
use imperative handler to handle thoughtless streaming and complete responses

* option chain
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.

[BUG]: Fix issue with /no_think cases in reasoning models
1 participant