Repository navigation
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 288876dda7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| source: "bundled" | "catalog" | "configured"; | ||
| }; | ||
|
|
||
| const NON_CHANNEL_CONFIG_KEYS = new Set(["defaults"]); |
There was a problem hiding this comment.
Exclude non-channel keys from configured channel scan
configuredChannelIdsFromConfig only excludes defaults, so any global channel config key (for example channels.modelByChannel, which is part of ChannelsConfig) is treated as a channel id and emitted in channels list as a fake configured channel. This pollutes both table and JSON output for users who define model overrides, showing entries like modelByChannel as configured/not installed even though no such channel exists.
Useful? React with 👍 / 👎.
Summary
Fix
openclaw channels listso it lists channel surfaces only, instead of mixing in model/auth provider profiles.channels listVerification