fix: handle empty ticker in MinIO storage paths, clean up debug log
This commit is contained in:
@@ -234,6 +234,12 @@ class OllamaClient:
|
||||
# the model to output plain text instead of valid JSON.
|
||||
# Omitting "think" lets the model use thinking mode (slightly
|
||||
# slower but structured output actually works).
|
||||
"options": {
|
||||
# Ollama defaults num_predict to 4096 which is consumed
|
||||
# entirely by thinking tokens, leaving nothing for content.
|
||||
# Set high enough for thinking + JSON output.
|
||||
"num_predict": self._config.max_tokens,
|
||||
},
|
||||
}
|
||||
|
||||
url = f"{self._config.base_url}/api/chat"
|
||||
|
||||
Reference in New Issue
Block a user