it should be "stop = self.stop + stop" in _create_stream of ollama #16541
starimpact
announced in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Checked
Feature request
Motivation
i suggest that it should be "stop = self.stop + stop" in _create_stream of ollama, and remove the last "elif" statement. because, in the original code, ollama will never stop after a task.
I think this is a design flaw. Hope to be helpful.
Proposal (If applicable)
i suggest that it should be "stop = self.stop + stop" in _create_stream of ollama, and remove the last "elif" statement. because, in the original code, ollama will never stop after a task.
I think this is a design flaw. Hope to be helpful.
Beta Was this translation helpful? Give feedback.
All reactions