mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-18 02:30:51 +08:00
feat(ai-providers): add prefix editing for provider configs
This commit is contained in:
@@ -18,6 +18,7 @@ export interface ApiKeyEntry {
|
||||
|
||||
export interface GeminiKeyConfig {
|
||||
apiKey: string;
|
||||
prefix?: string;
|
||||
baseUrl?: string;
|
||||
headers?: Record<string, string>;
|
||||
excludedModels?: string[];
|
||||
@@ -25,6 +26,7 @@ export interface GeminiKeyConfig {
|
||||
|
||||
export interface ProviderKeyConfig {
|
||||
apiKey: string;
|
||||
prefix?: string;
|
||||
baseUrl?: string;
|
||||
proxyUrl?: string;
|
||||
headers?: Record<string, string>;
|
||||
@@ -34,6 +36,7 @@ export interface ProviderKeyConfig {
|
||||
|
||||
export interface OpenAIProviderConfig {
|
||||
name: string;
|
||||
prefix?: string;
|
||||
baseUrl: string;
|
||||
apiKeyEntries: ApiKeyEntry[];
|
||||
headers?: Record<string, string>;
|
||||
|
||||
Reference in New Issue
Block a user