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,