// Agent defaults. Kept free of browser APIs so Node tests can import it. export const DEFAULTS = { thinking: true, confirmCommands: false, maxSteps: 16, commandTimeoutSec: 90, maxNewTokens: 2048, thinkingBudget: 1536, // How many tokens of conversation the model sees; older tool output is trimmed beyond it. // The local default is moderate because long prompts are slow and use GPU memory; // API models usually have 128k+ windows. contextLocalTokens: 32768, contextApiTokens: 128000, contextBudgetTokens: 32768, // the active budget; main.js sets it from the two above };