mirror of
https://github.com/immich-app/yucca.git
synced 2026-09-30 13:33:00 +08:00
chore(columbo): raise the tool-call budget and investigation timeout
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user