Add bounded skill handoff graph

This commit is contained in:
dahyeon committed 2026-05-18 17:22:12 -07:00
1 parent 54bc295ead
commit c14adac162
42 files changed
+2243 -31

No files matched your search

+28
View File
@@ -98,6 +98,34 @@ export function getAgentRequestTimeoutMs(): number {
return getPositiveNumber("AGENT_REQUEST_TIMEOUT_MS", 5_000);
}
export function getAgentBudgetEnabled(): boolean {
return getBoolean("AGENT_BUDGET_ENABLED", true);
}
export function getAgentBudgetMaxHandoffs(): number {
return getPositiveNumber("AGENT_BUDGET_MAX_HANDOFFS", 4);
}
export function getAgentBudgetMaxSameAgentVisits(): number {
return getPositiveNumber("AGENT_BUDGET_MAX_SAME_AGENT_VISITS", 2);
}
export function getAgentBudgetMaxToolCalls(): number {
return getPositiveNumber("AGENT_BUDGET_MAX_TOOL_CALLS", 20);
}
export function getAgentBudgetMaxCostUsd(): number {
return getPositiveNumber("AGENT_BUDGET_MAX_COST_USD", 0.5);
}
export function getAgentRuntimeVerifierEnabled(): boolean {
return getBoolean("AGENT_RUNTIME_VERIFIER_ENABLED", false);
}
export function getMetricsPort(): number {
return getPositiveNumber("METRICS_PORT", 9464);
}
export function getDiscordVerifyTimeoutMs(): number {
return getPositiveNumber("DISCORD_VERIFY_TIMEOUT_MS", 2_500);
}