Skip to content

feat(codex): add force_codex_model_provider_id setting to unify provi…#3977

Open
jieshu666 wants to merge 3 commits into
farion1231:mainfrom
jieshu666:fix/3967-unify-codex-model-provider-id
Open

feat(codex): add force_codex_model_provider_id setting to unify provi…#3977
jieshu666 wants to merge 3 commits into
farion1231:mainfrom
jieshu666:fix/3967-unify-codex-model-provider-id

Conversation

@jieshu666

Copy link
Copy Markdown

…der names

When switching between different third-party Codex providers, varying model_provider IDs can cause chat history to disappear. A new optional setting force_codexModelProviderId (e.g. custom) rewrites all non-reserved provider IDs on every switch. Fixes #3967

Summary / 概述

Related Issue / 关联 Issue

Fixes #

Screenshots / 截图

Before / 修改前 After / 修改后

Checklist / 检查清单

  • pnpm typecheck passes / 通过 TypeScript 类型检查
  • pnpm format:check passes / 通过代码格式检查
  • cargo clippy passes (if Rust code changed) / 通过 Clippy 检查(如修改了 Rust 代码)
  • Updated i18n files if user-facing text changed / 如修改了用户可见文本,已更新国际化文件

…der names

When switching between different third-party Codex providers, varying model_provider IDs can cause chat history to disappear. A new optional setting force_codexModelProviderId (e.g. custom) rewrites all non-reserved provider IDs on every switch. Fixes farion1231#3967
@farion1231

Copy link
Copy Markdown
Owner

@codex review

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

Copy link
Copy Markdown

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: ef86640f46

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src-tauri/src/codex_config.rs Outdated
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.

#3258 切换供应商后,Codex 桌面版会出现聊天记录丢失的问题。

2 participants