Unverified50% confidenceDecision RuleExact time
In Ollama's logs, if the generation stop reason is `stop` and occurs at the thinking marker, the stop-word configuration can be confirmed as the problem; if it is `length`, num_predict needs to be adjusted.
1
Sources
50%
Confidence
Long-term
Relevance
10/30/2026
First Seen
Sources
Related Entities
Related Claims
UnverifiedIf the stop-word list includes the thinking-end marker (such as </thinking>), the model stops generating after outputting that marker, so the subsequent answer cannot be produced.73% similarUnverifiedFinish reason (finish_reason/stop_reason) is a model response metadata field indicating why generation ended: normal completion, reaching the max_tokens limit, triggering content filtering, or a tool call request, etc.69% similarUnverifiedCommon values of the finish_reason field include stop (natural end) and length (truncated upon reaching the maximum token count).65% similarUnverifiedIt is recommended to write into prompt templates, as a standard tool-calling policy, that execution should stop and be reported after more than N consecutive request failures.63% similarUnverifiedAn anti-hallucination code block is added at the end of the prompt, requiring the model to return a fixed error structure when the context cannot support an answer and prohibiting it from filling gaps with plausible-sounding facts.62% similar
Cite This Claim
Stable URI
https://kongchang.com/claim/1115143API
curl https://kongchang.com/api/v1/knowledge/claims/1115143MCP
get_claim(id=1115143)