ваше сообщение коммита

This commit is contained in:
2025-09-04 11:27:07 +03:00
parent 9e7a9d35bb
commit 888873f630
2 changed files with 7 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ def get_embedding(text: str) -> list:
resp = requests.post(f"{OLLAMA_BASE_URL}/api/embeddings", json={
"model": EMBED_MODEL,
"prompt": text
}, timeout=30)
}, timeout=300)
print(f"[DEBUG] Ollama response status: {resp.status_code}")
if not resp.ok: