We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Ollama (and other) LLMs return JSONL responses. For example:
{"model":"qwen2.5-coder:32b","created_at":"2024-12-04T01:02:49.430146Z","response":"{\"","done":false} {"model":"qwen2.5-coder:32b","created_at":"2024-12-04T01:02:49.547325Z","response":"tool","done":false} <snip> "model":"qwen2.5-coder:32b","created_at":"2024-12-04T01:02:51.164084Z","response":"","done":true,"done_reason":"stop","context":[<snip>],"total_duration":4234087125,"load_duration":9450125,"prompt_eval_count":279,"prompt_eval_duration":2489000000,"eval_count":16,"eval_duration":1734000000}
The attemptGenerate function of LLMImpl fails to handle this gracefully, resulting in warnings for every invocation to Ollama.
attemptGenerate
LLMImpl
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Ollama (and other) LLMs return JSONL responses. For example:
The
attemptGenerate
function ofLLMImpl
fails to handle this gracefully, resulting in warnings for every invocation to Ollama.The text was updated successfully, but these errors were encountered: