This commit is contained in:
V-LiuShuang committed 2026-09-28 10:05:48 +08:00
1 parent 4665367a38
commit a6c12f161a
1 file changed
+10 -2
+10 -2
View File
@@ -92,6 +92,7 @@
| sessionId | Long | 是 | 会话ID |
| username | String | 是 | 用户名 |
| subagentOutput | String | 是 | 子智能体回复内容 |
| context | Map | 否 | 自定义扩展数据 |
#### 请求示例
@@ -99,7 +100,11 @@
{
"sessionId": 1001,
"username": "zhangsan",
"subagentOutput": "在第42行发现潜在的空指针异常,建议添加空值检查..."
"subagentOutput": "在第42行发现潜在的空指针异常,建议添加空值检查...",
"context": {
"key1": "xxx",
"key2": "yyy"
}
}
```
@@ -307,7 +312,10 @@ curl -X GET {gateway}/harness/session/message/1872639000000000001
"messageId": "1872639000000001001",
"messageType": "USER",
"message": "你好,请问如何配置聊天模型?",
"context": null,
"context": {
"key1": "xxx",
"key2": "yyy"
},
"createTime": "2026-09-20 10:30:00"
},
{