Merge release/custom-0.1.83 into release/custom-0.1.84

This commit is contained in:
liuxiongfeng
2026-02-18 22:38:45 +08:00
38 changed files with 5205 additions and 593 deletions

View File

@@ -515,6 +515,7 @@ export interface ProxyAccountSummary {
export interface GeminiCredentials {
// API Key authentication
api_key?: string
model_mapping?: Record<string, string>
// OAuth authentication
access_token?: string
@@ -719,6 +720,26 @@ export interface UpdateAccountRequest {
confirm_mixed_channel_risk?: boolean
}
export interface CheckMixedChannelRequest {
platform: AccountPlatform
group_ids: number[]
account_id?: number
}
export interface MixedChannelWarningDetails {
group_id: number
group_name: string
current_platform: string
other_platform: string
}
export interface CheckMixedChannelResponse {
has_risk: boolean
error?: string
message?: string
details?: MixedChannelWarningDetails
}
export interface CreateProxyRequest {
name: string
protocol: ProxyProtocol