export interface ModelRegisterArgs { /** 注册名(唯一标识——model_switch 按此切换) */ name: string; /** 服务地址(endpoint 必填;local-path 型为本地推理端点占位) */ endpoint: string; /** 模型名(传给服务的 model 字段) */ model: string; /** 客户端协议(缺省 ollama;openai-compatible = vLLM/第三方 router) */ client_type?: 'ollama' | 'openai-compatible'; /** 来源类型(缺省 endpoint;local-path = 本地权重部署) */ source?: 'endpoint' | 'local-path'; /** 权重目录(source=local-path 必填——按 manifest.json 目录规范校验) */ weights_dir?: string; /** * @deprecated v1.5.7 F53:注册路径验哈希已硬编码为 true(供应链红线, * 三条版本切换路径统一无旁路)——本参数不再生效,传入即被忽略。 * 保留为可选字段仅为旧调用方 schema 兼容,后续版本移除。 */ verify_hash?: boolean; /** 评测分数(评测→注册流程的证据位) */ eval_score?: number; /** 备注 */ comment?: string; /** * 端点能力画像(v1.3.6 交付⑧——可选填,不填向后兼容)。 * strengths 擅长能力 / modalities 模态 / maxContext 最大上下文 / * costPerKToken 每千 token 成本 / latencyP50 延迟 P50。 */ profile?: { strengths?: string[]; modalities?: string[]; maxContext?: number; costPerKToken?: number; latencyP50?: number; }; } export interface ModelRegisterToolResult { text: string; data: { isError: boolean; ok: boolean; issues: string[]; name?: string; registered?: boolean; }; } export declare function modelRegister(args: ModelRegisterArgs): Promise; //# sourceMappingURL=model-register.d.ts.map