第二十七轮: 三线直传(/v1/messages,/v1/responses)+删除路由别名;第二十八轮: element-plus 按需引入+死代码清理+前端支持格式列/API Key 文档

This commit is contained in:
api-gateway committed 2026-09-18 16:33:33 +08:00
1 parent 1e1130a8ad
commit 327721b8ef
28 files changed
+3016 -1263

No files matched your search

+1 -2
View File
@@ -7,7 +7,6 @@ export interface Meta {
served: string
provider: string
requested: string
fallback: boolean
}
export interface Usage {
@@ -25,7 +24,7 @@ export interface ChatMessage {
imgThumbs?: string[] // 第十三轮:缩略图 data URI —— 落服务端历史时用它替代原图
// (服务端单条 512KB,原图 base64 会被截断成坏图)
reasoning?: string // 推理内容(reasoning_content),单独折叠展示
meta?: Meta // 网关元信息(served/provider/fallback)
meta?: Meta // 网关元信息(served/provider)
usage?: Usage
cost?: number // estimated_cost_cny(仅非流式)
streaming?: boolean // 正在流式输出中