fix conflict

This commit is contained in:
paisley
2026-03-08 12:45:00 +08:00
54 changed files with 3069 additions and 210 deletions

View File

@@ -32,6 +32,12 @@ export function getProviderEnvVar(type: string): string | undefined {
return getSharedProviderEnvVar(type) ?? EXTRA_ENV_ONLY_PROVIDERS[type]?.envVar;
}
/** Get all environment variable names for a provider type (primary first). */
export function getProviderEnvVars(type: string): string[] {
const envVar = getProviderEnvVar(type);
return envVar ? [envVar] : [];
}
/** Get the default model string for a provider type */
export function getProviderDefaultModel(type: string): string | undefined {
return getSharedProviderDefaultModel(type);