chore(columbo): raise the tool-call budget and investigation timeout

This commit is contained in:
Antoine
2026-09-15 09:51:23 -04:00
parent a03f93d04f
commit 3b0192783a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -158,7 +158,7 @@ as AI-generated with the executed queries listed — so the worst case is a
misleading note that staff are told to verify.
Hard limits per investigation: tool-call budget (`COLUMBO_MAX_TOOL_CALLS`,
20), wall clock (`COLUMBO_TIMEOUT_SECONDS`, 600), model calls retried on
30), wall clock (`COLUMBO_TIMEOUT_SECONDS`, 900), model calls retried on
transport errors/timeouts/5xx with per-attempt deadlines
(`COLUMBO_MODEL_TIMEOUT_SECONDS` 120 × `COLUMBO_MODEL_ATTEMPTS` 3 — the
response body is buffered per attempt so a mid-body stall retries instead of
+2 -2
View File
@@ -83,8 +83,8 @@ func LoadConfig() Config {
LogsURL: envOr("O11Y_LOGS_URL", "http://localhost:9428"),
BotURL: envOr("FUTO_BACKUPS_BOT_URL", "http://localhost:3050"),
GrafanaURL: envOr("GRAFANA_URL", "https://grafana.futostatus.com"),
MaxToolCalls: envIntMin("COLUMBO_MAX_TOOL_CALLS", 20, 1),
InvestigationTimeout: time.Duration(envIntMin("COLUMBO_TIMEOUT_SECONDS", 600, 10)) * time.Second,
MaxToolCalls: envIntMin("COLUMBO_MAX_TOOL_CALLS", 30, 1),
InvestigationTimeout: time.Duration(envIntMin("COLUMBO_TIMEOUT_SECONDS", 900, 10)) * time.Second,
ModelCallTimeout: time.Duration(envIntMin("COLUMBO_MODEL_TIMEOUT_SECONDS", 120, 10)) * time.Second,
ModelCallAttempts: envIntMin("COLUMBO_MODEL_ATTEMPTS", 3, 1),
ToolResultBytes: envIntMin("COLUMBO_TOOL_RESULT_BYTES", 12288, 512),