fix: handle empty ticker in MinIO storage paths, clean up debug log

This commit is contained in:
Celes Renata
2026-04-15 00:39:53 +00:00
parent 8b5b692d3c
commit ffe19eb23a
2 changed files with 14 additions and 4 deletions
+6
View File
@@ -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"