Skip to content

fix: restore provider display and correct OpenCode links#1143

Merged
yanyihan-xiaomi merged 1 commit into
mainfrom
fix/restore-provider-display
Jun 22, 2026
Merged

fix: restore provider display and correct OpenCode links#1143
yanyihan-xiaomi merged 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 显示。

@yanyihan-xiaomi yanyihan-xiaomi self-assigned this Jun 19, 2026
- 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 force-pushed the fix/restore-provider-display branch from b2acd61 to 2456cb0 Compare June 22, 2026 04:15
@yanyihan-xiaomi yanyihan-xiaomi merged commit 353379b into main Jun 22, 2026
2 of 3 checks passed
@yanyihan-xiaomi yanyihan-xiaomi deleted the fix/restore-provider-display branch June 22, 2026 06:35
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