mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-06-16 21:03:58 +08:00
22 lines
430 B
TypeScript
22 lines
430 B
TypeScript
/**
|
|
* Amp CLI Integration (ampcode) 配置
|
|
*/
|
|
|
|
export interface AmpcodeModelMapping {
|
|
from: string;
|
|
to: string;
|
|
}
|
|
|
|
export interface AmpcodeUpstreamApiKeyMapping {
|
|
upstreamApiKey: string;
|
|
apiKeys: string[];
|
|
}
|
|
|
|
export interface AmpcodeConfig {
|
|
upstreamUrl?: string;
|
|
upstreamApiKey?: string;
|
|
upstreamApiKeys?: AmpcodeUpstreamApiKeyMapping[];
|
|
modelMappings?: AmpcodeModelMapping[];
|
|
forceModelMappings?: boolean;
|
|
}
|