Skip to content

bug(assistant): worker model display differs from Bot-dispatched execution #6642

Closed

Description

@sunrioa

What happened

While testing the Rust desktop build for #6637, I noticed that Bot-created worker panes displayed different models from those actually used for their Bot-dispatched runs.

Both the Bot and the global default were set to DeepSeek V4.1 Flash. Two workers created by the Bot showed the following state:

Worker Saved backend / model shown in the pane Model recorded for Bot-dispatched requests
A GPT-6.1 Sol, medium DeepSeek V4.1 Flash
B GLM-5.3, high DeepSeek V4.1 Flash

These models used the same configured connection.

When I sent “continue” directly in worker A’s pane without changing its model selection, it actually requested GPT-6.1 Sol and failed with:

HTTP 403
MODEL_NOT_IN_PLAN

The difference therefore affects both what the UI communicates and which model a direct follow-up requests.

Expected: The worker pane should make it clear which model is used for a Bot-dispatched run and which model will be used for direct user input.

How direct input should interact with Bot-created workers—including whether it should use the saved worker preference or inherit the Bot’s model—can be discussed separately. This report leaves that policy open.

How to reproduce

Trigger condition: a Bot-created worker has a saved native model preference different from the Bot’s effective model.

  1. Configure a model connection and select DeepSeek V4.1 Flash for both the Bot and the global default.
  2. Ask the Bot to create a worker and delegate a small read-only task. In the observed run, the Bot supplied GPT-6.1 Sol as the worker’s backend through SessionCreate; another worker was created with GLM-5.3.
  3. Open the worker beside the Bot conversation. Compare the model shown in its composer with the model recorded in its model_requested events during Bot-dispatched execution.
  4. Send “continue” directly in the worker pane without changing the model selection.
  5. Check the model requested for that follow-up.

In my test, the Bot-dispatched requests used DeepSeek, while the direct follow-up used the worker’s saved GPT preference. The latter returned MODEL_NOT_IN_PLAN on my account.

The 403 depends on the account’s access to that model; the displayed-versus-effective model difference is observable before that failure.

Environment

  • Maka commit: 5ea10f369da758bbc551f8ca9bc538a5b584b3f7
  • Branch under test: feat/bot-worker-panel, PR feat(workbench): reach a Bot's workers from its Chat #6637
  • OS: macOS 26.7.2
  • Surface: native Rust Desktop
  • Node.js used for the source build: v24.19.0
  • Configured connection: Command Code
  • Bot and global default model: deepseek/deepseek-v4.1-flash

Logs, screenshots, or additional context

Read-only inspection of the local configuration and persisted request events confirmed:

  • Worker A saved gpt-6.1-sol, while its Bot-dispatched requests used deepseek/deepseek-v4.1-flash.
  • Its direct “continue” request used gpt-6.1-sol and ended with HTTP 403 / MODEL_NOT_IN_PLAN.
  • Worker B saved zai-org/GLM-5.3, while its Bot-dispatched requests also used DeepSeek. Direct continuation in worker B was not tested.

Relevant source paths:

Source inspection found these paths already present in #6637’s base commit, 24d8efc6f165ea6b196dd585f6f0bb56aae9c812. This report tracks the model-state behavior separately from that PR’s worker-navigation changes.

Related observation: #6637 (comment)

Desktop interactions were tested manually. Codex assisted with source inspection, read-only local configuration/event checks, and drafting this report.

简体中文

发生了什么

在测试 #6637 的 Rust 桌面构建时,我发现 Bot 创建的工作会话面板显示的模型,与 Bot 派发任务时实际使用的模型不一致。

Bot 和全局默认模型均设置为 DeepSeek V4.1 Flash。Bot 创建的两个工作会话呈现以下状态:

工作会话 保存的模型偏好/面板显示的模型 Bot 派发请求中记录的实际模型
A GPT-6.1 Sol,medium DeepSeek V4.1 Flash
B GLM-5.3,high DeepSeek V4.1 Flash

这些模型使用同一个已配置的连接。

随后,我没有修改工作会话 A 的模型选择,直接在其面板发送“继续”。这次实际请求了 GPT-6.1 Sol,并返回:

HTTP 403
MODEL_NOT_IN_PLAN

因此,这个差异既影响界面向用户传达的信息,也影响直接追问时实际请求的模型。

期望行为: 工作会话面板应清楚表达 Bot 派发任务时使用的模型,以及用户直接输入时将使用的模型。

至于直接输入应如何影响 Bot 创建的工作会话,包括应使用工作会话保存的模型偏好,还是继承 Bot 的模型,可以单独讨论。本报告暂不预设这一规则。

如何复现

触发条件:Bot 创建的工作会话保存了一个与 Bot 实际使用模型不同的原生模型偏好。

  1. 配置模型连接,将 Bot 和全局默认模型均设置为 DeepSeek V4.1 Flash。
  2. 让 Bot 创建工作会话,派发一个简单的只读任务。在实际观察到的运行中,Bot 通过 SessionCreate 为工作会话指定了 GPT-6.1 Sol;另一个工作会话则指定了 GLM-5.3。
  3. 在 Bot 旁边打开工作会话,对比其输入框显示的模型与 Bot 派发执行期间 model_requested 事件记录的模型。
  4. 不修改模型选择,直接在工作会话面板发送“继续”。
  5. 检查这次追问实际请求的模型。

本次测试中,Bot 派发的请求使用 DeepSeek,而直接追问使用了工作会话保存的 GPT 模型偏好。后者在我的账号上返回 MODEL_NOT_IN_PLAN。

403 是否发生取决于账号对相应模型的访问权限;在失败之前,显示模型与实际执行模型的差异就已经可以观察到。

环境

  • Maka 提交:5ea10f369da758bbc551f8ca9bc538a5b584b3f7
  • 测试分支:feat/bot-worker-panel,PR feat(workbench): reach a Bot's workers from its Chat #6637
  • 操作系统:macOS 26.7.2
  • 使用界面:Rust 原生桌面端
  • 源码构建使用的 Node.js:v24.19.0
  • 配置的连接:Command Code
  • Bot 和全局默认模型:deepseek/deepseek-v4.1-flash

日志、截图或其他补充信息

对本地配置和持久化请求事件的只读检查确认:

  • 工作会话 A 保存了 gpt-6.1-sol,但 Bot 派发的请求使用 deepseek/deepseek-v4.1-flash。
  • 在该工作会话中直接发送“继续”后,请求使用 gpt-6.1-sol,并以 HTTP 403 / MODEL_NOT_IN_PLAN 结束。
  • 工作会话 B 保存了 zai-org/GLM-5.3,但 Bot 派发的请求同样使用 DeepSeek。没有测试在工作会话 B 中直接续聊。

相关源码:

源码检查发现,这些路径已经存在于 #6637 的基线提交 24d8efc6f165ea6b196dd585f6f0bb56aae9c812 中。因此,本报告将模型状态问题与该 PR 的工作会话导航改动分开跟踪。

相关观察记录:#6637 (comment)

桌面交互由本人手工测试。源码检查、本地配置和事件的只读核对,以及本报告起草使用了 Codex 协助。

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions