e89420053a
- shared-contracts 新增 llm_catalog.rs:LlmModelsResponse/LlmModelSummary/LlmUnavailableModel/LlmModelUnavailableReason(plan_required/disabled/unknown),未停用优先于档位的 disabled 语义留给域层 - AgcAgentMode/AgcModelProtocol 从 module-runtime 迁入 shared-contracts(前后端 + ts-rs 单一真源),module-runtime re-export 保持路径可用 - 整个目录 DTO 与枚举走 ts-rs,生成到 packages/shared/src/contracts/generated,revision 标 number - module-runtime 新增 AgcModelCatalog::unavailable_models_for(access):保持目录顺序,停用优先于档位不足,补单测 - api-server public_model_catalog 产出 models + unavailableModels 两桶,重写 model_catalog_tests
17 lines
581 B
TypeScript
Generated
17 lines
581 B
TypeScript
Generated
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { AgcAgentMode } from "./AgcAgentMode";
|
|
import type { AgcModelProtocol } from "./AgcModelProtocol";
|
|
|
|
/**
|
|
* 本档可用的一条模型摘要。不包含上游真实模型名。
|
|
*/
|
|
export type LlmModelSummary = { displayName: string, id: string,
|
|
/**
|
|
* 执行器;旧服务端缺字段时按 `codex` 兼容。
|
|
*/
|
|
agentMode: AgcAgentMode,
|
|
/**
|
|
* 上游线协议;旧服务端缺字段时按 `openai_responses` 兼容。
|
|
*/
|
|
protocol: AgcModelProtocol, };
|