chore(telemetry): jack up MAX_TOOL_ROUNDS to 150 for ultimate custom app-building runway

This commit is contained in:
2026-06-09 14:18:44 -07:00
parent 1301819501
commit 65c8dcb6dc

View File

@@ -33,10 +33,10 @@ import { buildCodebaseSummary } from "@/lib/ai/codebase-summary";
import { execInDevContainer } from "@/lib/dev-container";
import type { ChatMessage, ToolCall } from "@/lib/ai/gemini-chat";
// C-01: Raised to 60. Provides a massive engineering runway for complex coding
// tasks (like complete mobile-responsive styling), while the State-Based
// Governor acts as our real-time safetynet against loops.
const MAX_TOOL_ROUNDS = 60;
// C-01: Raised to 150. Provides a virtually unlimited, elite engineering runway
// for complex custom application building, while the State-Based
// Governor acts as our real-time safetynet to stop loops within 2 rounds.
const MAX_TOOL_ROUNDS = 150;
let chatTablesReady = false;
async function ensureChatTables() {