File size: 600 Bytes
a8f5a2f
 
 
 
 
 
 
 
ff322b9
 
 
 
 
 
a8f5a2f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// 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
};