mirror of
https://github.com/router-for-me/Cli-Proxy-API-Management-Center.git
synced 2026-02-03 03:10:50 +08:00
- Add ampcodeApi service for upstream URL, API key, and model mappings management - Implement Ampcode configuration modal in AiProvidersPage - Add complete i18n translations for Ampcode features (en and zh-CN) - Enhance UsagePage with mobile-responsive chart improvements and legend display - Optimize chart rendering for smaller screens - Improve page layout styles (SystemPage, AiProvidersPage alignment)
18 lines
324 B
TypeScript
18 lines
324 B
TypeScript
/**
|
|
* Amp CLI Integration (ampcode) 配置
|
|
*/
|
|
|
|
export interface AmpcodeModelMapping {
|
|
from: string;
|
|
to: string;
|
|
}
|
|
|
|
export interface AmpcodeConfig {
|
|
upstreamUrl?: string;
|
|
upstreamApiKey?: string;
|
|
restrictManagementToLocalhost?: boolean;
|
|
modelMappings?: AmpcodeModelMapping[];
|
|
forceModelMappings?: boolean;
|
|
}
|
|
|