mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-12 12:09:50 +08:00
feat: 新增 Kiro 适配器、OAuth 改进与多项功能增强
- 新增 Kiro provider 适配器(EventStream 协议解析、令牌管理、用量追踪) - 重构 OAuth 账户管理与统一配额机制 - 重构 Handler 基类(CLI adapter/handler、请求构建器、流处理器) - 增强缓存监控后端 API 与前端可视化 - 改进 Gemini 格式标准化器与请求头处理 - Antigravity/Codex 适配器更新,移除旧 metadata_collector - 新增数据库迁移:proxy provider API keys - 前端 UI 多项优化 Co-Authored-By: AAEE86 <[email protected]>
This commit is contained in:
@@ -372,7 +372,7 @@ import {
|
||||
} from '@/api/endpoints'
|
||||
import { getGlobalModels, type GlobalModelResponse } from '@/api/global-models'
|
||||
import { useUpstreamModelsCache } from '../composables/useUpstreamModelsCache'
|
||||
import { API_FORMAT_SHORT, sortApiFormats, type UpstreamModel } from '@/api/endpoints/types'
|
||||
import { API_FORMAT_SHORT, type UpstreamModel } from '@/api/endpoints/types'
|
||||
|
||||
interface AvailableModel {
|
||||
name: string
|
||||
@@ -505,7 +505,7 @@ function toggleAllUpstreamModels() {
|
||||
}
|
||||
|
||||
// 处理上游模型点击(自动同步模式下禁用)
|
||||
function handleUpstreamModelClick(model: UpstreamModelInfo) {
|
||||
function handleUpstreamModelClick(model: UpstreamModel) {
|
||||
if (!isAutoFetchMode.value) {
|
||||
toggleModel(model.id)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user