Skip to content

fix(tui): silence noisy provider refresh warnings during startup#1193

Open
liruifengv wants to merge 1 commit into
mainfrom
fix/silence-startup-refresh-warnings
Open

fix(tui): silence noisy provider refresh warnings during startup#1193
liruifengv wants to merge 1 commit into
mainfrom
fix/silence-startup-refresh-warnings

Conversation

@liruifengv

Copy link
Copy Markdown
Collaborator

Related Issue

No linked issue.

Problem

Startup runs a best-effort background refresh of every provider's model list. Transient failures — being offline, an expired OAuth token, or a custom-registry entry this client does not yet recognize — surfaced a warning on every launch (Skipped refreshing ... in the status area and a [custom-registry] Skipping invalid entry ... console warning). These are not actionable and add noise to each startup.

What changed

  • The startup background refresh no longer shows per-provider failure warnings. The manual refresh in the model picker still reports failures when the user asks for it.
  • Custom registries now skip unrecognized entries quietly instead of logging a console warning.
  • Updated the affected tests to cover the new silent behavior and added a changeset.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

Best-effort background refreshes no longer warn on every launch for transient failures, and custom registries skip unrecognized entries quietly. The manual refresh in the model picker still reports failures.
@changeset-bot

changeset-bot Bot commented Jun 29, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f6a7cb5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jun 29, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@f6a7cb5
npx https://pkg.pr.new/@moonshot-ai/kimi-code@f6a7cb5

commit: f6a7cb5

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