From 9c2c9ea9490d5709b67af79de90d0a114e8d9a39 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Fri, 12 Dec 2025 11:54:22 -0500 Subject: [PATCH] Don't make credential_label optional --- crates/extension/src/extension_manifest.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/crates/extension/src/extension_manifest.rs b/crates/extension/src/extension_manifest.rs index 3c6864a474a788896ea08edaadc13915be77a66b..8899d997f77b0071c07d8b4b808234a46ed6f97e 100644 --- a/crates/extension/src/extension_manifest.rs +++ b/crates/extension/src/extension_manifest.rs @@ -328,11 +328,10 @@ pub struct LanguageModelManifestEntry { /// Authentication configuration for a language model provider. #[derive(Clone, PartialEq, Eq, Debug, Deserialize, Serialize)] pub struct LanguageModelAuthConfig { - /// Environment variable name for the API key. + /// Environment variable name for the API key (if env var auth supported). #[serde(default)] pub env_var: Option, /// Human-readable name for the credential shown in the UI input field (e.g., "API Key", "Access Token"). - #[serde(default)] pub credential_label: Option, /// OAuth configuration for web-based authentication flows. #[serde(default)]