Skip to content

添加可选多轮对话功能#405

Open
mhejunjie2010 wants to merge 1 commit intoCJackHwang:devfrom
mhejunjie2010:main
Open

添加可选多轮对话功能#405
mhejunjie2010 wants to merge 1 commit intoCJackHwang:devfrom
mhejunjie2010:main

Conversation

@mhejunjie2010
Copy link
Copy Markdown

添加可选多轮对话功能:新增'保持会话'开关,同一API Key共享会话并记录消息ID实现对话衔接;优化历史文件处理,多轮对话中仅上传增量用户消息,系统提示与上下文打包为补充文件上传以节省token;支持自定义历史文件名和补充文件名,补充文件上传可独立开关;会话信息持久化至磁盘,重启自动恢复;功能默认关闭,不影响现有用户。

@vercel
Copy link
Copy Markdown

vercel Bot commented May 2, 2026

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

A member of the Team first needs to authorize it.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e81e50f428

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread internal/httpapi/openai/chat/handler_chat.go Outdated
Comment thread internal/httpapi/openai/chat/handler_chat.go Outdated
Comment thread internal/httpapi/openai/chat/handler_chat.go
@CJackHwang CJackHwang changed the base branch from main to dev May 2, 2026 09:42
…户消息,系统提示与上下文打包为补充文件上传以节省token;支持自定义历史文件名和补充文件名,补充文件上传可独立开关;会话信息持久化至磁盘,重启自动恢复;功能默认关闭,不影响现有用户。
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