Skip to content

fix: restore provider display and correct OpenCode links#1143

Open
yanyihan-xiaomi wants to merge 1 commit into
mainfrom
fix/restore-provider-display
Open

fix: restore provider display and correct OpenCode links#1143
yanyihan-xiaomi wants to merge 1 commit into
mainfrom
fix/restore-provider-display

Conversation

@yanyihan-xiaomi

@yanyihan-xiaomi yanyihan-xiaomi commented Jun 19, 2026

Copy link
Copy Markdown
Collaborator

Summary / 概述

  • Restore grey provider name display next to model name in prompt area, matching opencode upstream implementation

  • Fix OpenCode repository links in README files

  • 恢复输入框区域模型名称旁的灰色 provider 显示,与 opencode 上游实现一致

  • 修复 README 文件中 OpenCode 仓库链接

Changes / 变更

  1. packages/opencode/src/cli/cmd/tui/component/prompt/index.tsx: Added currentProviderLabel memo and display it after model name / 添加 currentProviderLabel 并在模型名称后显示
  2. README.md: Fix OpenCode link from XiaomiMiMo/MiMo-Code to anomalyco/opencode / 修正 OpenCode 链接
  3. README.zh.md: Same as above / 同上

Context / 背景

This restores the provider display following the official opencode implementation (see anomalyco/opencode).

按照 opencode 官方实现恢复 provider 显示。

- Restore grey provider name display next to model in prompt area (matching opencode upstream)
- Fix OpenCode repository links in README.md and README.zh.md to point to anomalyco/opencode
@yanyihan-xiaomi yanyihan-xiaomi self-assigned this Jun 19, 2026
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