Fix typo in error message for OAuth login (#6159)

Error message for attempting to OAuth with a remote RCP is incorrect and
misleading. The correct config is

```
[features]
rmcp_client = true
```

Co-authored-by: Eric Traut <etraut@openai.com>
This commit is contained in:
Mark Hemmings
2025-11-03 16:59:00 +00:00
committed by GitHub
parent b484672961
commit 4d8b71d412

View File

@@ -353,7 +353,7 @@ async fn run_login(config_overrides: &CliConfigOverrides, login_args: LoginArgs)
.context("failed to load configuration")?;
if !config.features.enabled(Feature::RmcpClient) {
bail!("OAuth login is only supported when [feature].rmcp_client is true in config.toml.");
bail!("OAuth login is only supported when [features].rmcp_client is true in config.toml.");
}
let LoginArgs { name, scopes } = login_args;