This commit is contained in:
yichuan520030910320 committed 2025-07-21 23:03:52 -07:00
1 parent 573313f0b6
commit 7fd0a30fee
2 files changed
+11 -2

No files matched your search

+2 -1
View File
@@ -375,8 +375,9 @@ class OllamaChat(LLMInterface):
"stream": False, # Keep it simple for now
"options": kwargs,
}
logger.info(f"Sending request to Ollama: {payload}")
logger.debug(f"Sending request to Ollama: {payload}")
try:
logger.info(f"Sending request to Ollama and waiting for response...")
response = requests.post(full_url, data=json.dumps(payload))
response.raise_for_status()
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.