feat: 前端增加行内测试功能(场景绑定+接口工作流)
- 场景绑定表和接口工作流表操作列增加「测试」按钮 - 新增接口工作流测试对话框(流式+非流式) - API 层提取 fetchSseStream 共享辅助函数 - 新增 testEndpointRuntime 和 streamEndpointRuntime Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -265,6 +265,11 @@ export interface AiRuntimeRequest {
|
||||
inputs: Record<string, any>
|
||||
}
|
||||
|
||||
export interface AiEndpointRuntimeRequest {
|
||||
endpointId: string
|
||||
inputs: Record<string, any>
|
||||
}
|
||||
|
||||
export interface AiRuntimeTestResponse {
|
||||
sceneCode: string
|
||||
status: string
|
||||
|
||||
Reference in New Issue
Block a user