Skip to content
English

Core 的基础预算缺省值 ​

策略的具体实现如下。

ts
modelRunnerDefaults = Object.freeze({
  maxCalls: 8,
  callTimeoutMs: 30000,
  maxInputChars: 32000,
  maxOutputChars: 16000,
  maxSchemaChars: 16000,
  maxOutputTokens: 1024,
  stage: 'model',
  children: Object.freeze({ maxDepth: 1, maxConcurrentCalls: 1, maxChildren: 32 }),
})

接口参考、使用示例与开发指南。