0
代码介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
0
  1. PilotDeck
  2. /
  3. src
  4. /
  5. router
  6. /
  7. config
MMingwwwwfeat: improve attachment and tool result handling
f3ef187e创建于 15 天前历史提交
文件最后提交记录最后更新时间
parseRouterConfig.ts
feat: improve attachment and tool result handling Co-authored-by: Cursor <cursoragent@cursor.com> 15 天前
resolveProviderRef.ts
feat(router): introduce in-process router module with scenario routing, fallback, and zero-usage retry Replace the agent's direct model dependency and AgentRecoveryPolicy with a new src/router/ module that owns scenario decision, sticky session state, fallback chain, zero-usage retry, and (skeleton) tokenSaver / orchestrate / customRouter / stats. Wire it into PolitConfig, createLocalGateway, and the agent loop; update e2e + agent test helpers; add docs/router/ and full tests/router/ unit suites. Co-authored-by: Cursor <cursoragent@cursor.com> 24 天前
schema.ts
fix(router): case-insensitive tool filtering and trim redundant prompt section Make allowedTools/blockedTools matching case-insensitive to avoid misses when tool names differ in casing. Fall back to unfiltered tools when allowedTools matches nothing. Remove the agent tool call schema section from DEFAULT_ORCHESTRATION_PROMPT (already documented in tool definition). Co-authored-by: Cursor <cursoragent@cursor.com> 15 天前