feat: 增强智能体模型调用兼容能力
- 增加模型流式开关和 HTTP 传输策略配置 - 使用 AgentScope 执行基础连接、流式与 VLM 双阶段验证 - 固定多模态校验图片并统一验证状态展示
This commit is contained in:
@@ -37,6 +37,21 @@ export async function verifyModelConfig(id: string) {
|
||||
return api.get('/api/v1/model/verifyLlmConfig', { params: { id } });
|
||||
}
|
||||
|
||||
export type ModelVerificationStageStatus =
|
||||
| 'FAILED'
|
||||
| 'PARTIAL'
|
||||
| 'PASSED'
|
||||
| 'SKIPPED';
|
||||
|
||||
export interface ModelVerificationData {
|
||||
dimension?: number;
|
||||
effectiveHttpVersion?: string;
|
||||
message?: string;
|
||||
nonStreaming?: ModelVerificationStageStatus;
|
||||
status?: ModelVerificationStageStatus;
|
||||
streaming?: ModelVerificationStageStatus;
|
||||
}
|
||||
|
||||
export interface ModelInvokeConfigPayload {
|
||||
id: string;
|
||||
invokeCode?: string;
|
||||
|
||||
Reference in New Issue
Block a user