0
代码介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
0
  1. PilotDeck
  2. /
  3. src
  4. /
  5. router
  6. /
  7. session
GGucc1feat(router): introduce in-process router module with scenario routing, fallback, and zero-usage retry
7d08d896创建于 24 天前历史提交
文件最后提交记录最后更新时间
SessionRouterStore.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 天前
sessionUsageCache.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 天前