fix(ai): stabilize GCP Ollama alert lane
This commit is contained in:
@@ -1142,6 +1142,8 @@ class OpenClawService:
|
||||
exec_context = dict(alert_context) if alert_context else {}
|
||||
if decision.intent == IntentType.DIAGNOSE:
|
||||
exec_context["task_type"] = "diagnose"
|
||||
if self._is_incident_alert_context(alert_context):
|
||||
exec_context["ollama_model"] = getattr(settings, "ALERT_OLLAMA_MODEL", "gemma3:4b")
|
||||
|
||||
result = await executor.execute(
|
||||
prompt=prompt,
|
||||
|
||||
Reference in New Issue
Block a user