feat: add requires_auth flag for custom providers without authentication (#6705)

Signed-off-by: rabi <ramishra@redhat.com>
This commit is contained in:
Rabi Mishra
2026-01-28 22:34:12 +05:30
committed by GitHub
parent 5b757c7f72
commit 2673e8acca
13 changed files with 250 additions and 153 deletions
+3 -1
View File
@@ -154,7 +154,7 @@ export type CspMetadata = {
};
export type DeclarativeProviderConfig = {
api_key_env: string;
api_key_env?: string;
base_url: string;
description?: string | null;
display_name: string;
@@ -164,6 +164,7 @@ export type DeclarativeProviderConfig = {
} | null;
models: Array<ModelInfo>;
name: string;
requires_auth?: boolean;
supports_streaming?: boolean | null;
timeout_seconds?: number | null;
};
@@ -1204,6 +1205,7 @@ export type UpdateCustomProviderRequest = {
[key: string]: string;
} | null;
models: Array<string>;
requires_auth?: boolean;
supports_streaming?: boolean | null;
};