201 előtti mentés

This commit is contained in:
Roo
2026-03-26 07:09:44 +00:00
parent 89668a9beb
commit 03258db091
124 changed files with 13619 additions and 13347 deletions

View File

@@ -29,7 +29,7 @@ OLLAMA_URL = "http://sf_ollama:11434/api/generate"
OLLAMA_MODEL = "qwen2.5-coder:14b" # A 14b paraméteres modell az agy
MAX_ATTEMPTS = 3
TIMEOUT_SECONDS = 45 # Megemelt timeout a 14b modell lassabb válaszideje miatt
BATCH_SIZE = 10 # Maximum 10 párhuzamos AI hívás a CPU fagyás elkerülésére
BATCH_SIZE = 4 # Maximum 4 párhuzamos AI hívás a CPU fagyás elkerülésére
class AlchemistPro:
def __init__(self):
@@ -222,7 +222,7 @@ class AlchemistPro:
await self.process_batch(db, vehicles)
await asyncio.sleep(1)
else:
await asyncio.sleep(10)
await asyncio.sleep(2)
except Exception as e:
logger.error(f"Főciklus hiba: {e}")
await asyncio.sleep(5)