ollama - 💡(How to fix) Fix 兼容openai接口的时候添加stream_options include_usage属性 [1 comments, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
ollama/ollama#15860Fetched 2026-04-29 06:11:45
View on GitHub
Comments
1
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
closed ×1commented ×1labeled ×1
RAW_BUFFERClick to expand / collapse

What is the issue?

模型回答问题,感叹句 反问句 会输出2个??和2个!!,使用的ollama v0.21.1 qwen3.6:27b

Relevant log output

OS

No response

GPU

No response

CPU

No response

Ollama version

No response

extent analysis

TL;DR

  • The issue may be related to the ollama version or configuration, and checking the documentation for ollama v0.21.1 could provide insight into the expected behavior for handling question and exclamation marks.

Guidance

  • Review the ollama documentation for v0.21.1 to understand how it handles punctuation, specifically question and exclamation marks in input.
  • Verify if there are any known issues or limitations in ollama v0.21.1 related to the handling of special characters or sentence types like interrogative or imperative sentences.
  • Consider testing the model with simpler inputs to isolate if the issue is specific to certain types of sentences or punctuation.

Notes

  • The lack of detailed log output, OS, GPU, CPU, and ollama version information limits the ability to provide a more specific solution.
  • Further investigation into the ollama model's capabilities and limitations with respect to natural language processing and punctuation handling is necessary.

Recommendation

  • Apply workaround: Given the information provided, it might be helpful to simplify the input to the model or to preprocess the text to handle punctuation and special characters explicitly, as the direct solution is not clear without more context.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

ollama - 💡(How to fix) Fix 兼容openai接口的时候添加stream_options include_usage属性 [1 comments, 1 participants]