Skip to content

feat: 增加思维链重写逻辑#437

Open
zuiyuejushi wants to merge 2 commits intoCJackHwang:mainfrom
zuiyuejushi:feat/thinking-cache
Open

feat: 增加思维链重写逻辑#437
zuiyuejushi wants to merge 2 commits intoCJackHwang:mainfrom
zuiyuejushi:feat/thinking-cache

Conversation

@zuiyuejushi
Copy link
Copy Markdown

  • Add file-based thinking cache with 120min TTL and 500 entries limit
  • Cache takes priority over existing reasoning fields in messages
  • Implement Apply at request entry to restore historical thinking
  • Implement Store at response exit to save assistant thinking
  • Support both streaming and non-streaming responses
  • Simplify logging to key events only

💻 变更类型 | Change Type

  • ✨ feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 👷 build
  • ⚡️ perf
  • 📝 docs
  • 🔨 chore

🔀 变更说明 | Description of Change

📝 补充信息 | Additional Information

- Add file-based thinking cache with 120min TTL and 500 entries limit
- Cache takes priority over existing reasoning fields in messages
- Implement Apply at request entry to restore historical thinking
- Implement Store at response exit to save assistant thinking
- Support both streaming and non-streaming responses
- Simplify logging to key events only
@vercel
Copy link
Copy Markdown

vercel Bot commented May 6, 2026

@zuiyuejushi is attempting to deploy a commit to the cjack's projects Team on Vercel.

A member of the Team first needs to authorize it.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant