chore(telemetry): raise MAX_TOOL_ROUNDS to 60 for complete engineering runway
This commit is contained in:
@@ -33,10 +33,10 @@ import { buildCodebaseSummary } from "@/lib/ai/codebase-summary";
|
|||||||
import { execInDevContainer } from "@/lib/dev-container";
|
import { execInDevContainer } from "@/lib/dev-container";
|
||||||
import type { ChatMessage, ToolCall } from "@/lib/ai/gemini-chat";
|
import type { ChatMessage, ToolCall } from "@/lib/ai/gemini-chat";
|
||||||
|
|
||||||
// C-01: Lowered from 15 → 8. Real workflows (scaffold → install →
|
// C-01: Raised to 60. Provides a massive engineering runway for complex coding
|
||||||
// configure → start) rarely need more than 16 rounds when done correctly.
|
// tasks (like complete mobile-responsive styling), while the State-Based
|
||||||
// If the cap IS hit the model gets a recovery summary, not silence.
|
// Governor acts as our real-time safetynet against loops.
|
||||||
const MAX_TOOL_ROUNDS = 30;
|
const MAX_TOOL_ROUNDS = 60;
|
||||||
|
|
||||||
let chatTablesReady = false;
|
let chatTablesReady = false;
|
||||||
async function ensureChatTables() {
|
async function ensureChatTables() {
|
||||||
|
|||||||
Reference in New Issue
Block a user