From fe895c7c97980597681ec75cb883cef96b98cc60 Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Fri, 12 Dec 2025 11:55:17 -0500 Subject: [PATCH] Reorganize LanguageModelAuthConfig --- crates/extension/src/extension_manifest.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/extension/src/extension_manifest.rs b/crates/extension/src/extension_manifest.rs index 8899d997f77b0071c07d8b4b808234a46ed6f97e..4ba3cbec2fed873930693a58bcee273355241813 100644 --- a/crates/extension/src/extension_manifest.rs +++ b/crates/extension/src/extension_manifest.rs @@ -328,11 +328,11 @@ pub struct LanguageModelManifestEntry { /// Authentication configuration for a language model provider. #[derive(Clone, PartialEq, Eq, Debug, Deserialize, Serialize)] pub struct LanguageModelAuthConfig { + /// Human-readable name for the credential shown in the UI input field (e.g., "API Key", "Access Token"). + pub credential_label: Option, /// 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"). - pub credential_label: Option, /// OAuth configuration for web-based authentication flows. #[serde(default)] pub oauth: Option,