Skip to content

feat: Add per-conversation model selection support#467

Open
fengjunhui31 wants to merge 1 commit intoChevey339:masterfrom
fengjunhui31:feat/per-conversation-model
Open

feat: Add per-conversation model selection support#467
fengjunhui31 wants to merge 1 commit intoChevey339:masterfrom
fengjunhui31:feat/per-conversation-model

Conversation

@fengjunhui31
Copy link
Copy Markdown

Summary

  • 为 Conversation 添加 modelProvidermodelId 字段 (HiveField 12, 13)
  • 模型选择优先级:conversation → assistant → global default
  • 新对话继承当前模型选择
  • Fork 对话继承源对话的模型

Fixes #464: 切换模型不再影响所有历史对话

Test plan

  • 对话 A 切换模型 → 切换到 B → 返回 A,模型保留
  • 新对话继承当前模型
  • Fork 对话继承源模型

🤖 Generated with Claude Code

Fixes Chevey339#464: Model switching no longer affects all conversations.

- Add modelProvider/modelId fields to Conversation (HiveField 12, 13)
- Priority: conversation → assistant → global default
- New conversations inherit current model selection
- Forked conversations inherit source's model

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@luosc
Copy link
Copy Markdown
Contributor

luosc commented Apr 13, 2026

顶栏助手模型的显示和下面文编编辑框中的话题模型要怎么考虑。上面ux直觉上更像是助手模型,下面ux直观理解更像是话题模型

@fengjunhui31
Copy link
Copy Markdown
Author

fengjunhui31 commented Apr 14, 2026

我倒是觉得顶部的ux直觉更像是当前会话的模型?因为已经进入到了会话内容中,我更倾向直觉显示的是当前会话的选中的模型
不过 新对话继承当前模型选择 这个我感觉可以改成 新对话依然继承当前助手配置的模型

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.

feature 新对话切换模型后历史对话的模型也会切换,希望可以保留历史对话的模型选择

3 participants