fix: workflow_run_id not log_id in workflow api doc (#3658)

This commit is contained in:
Joel 2024-04-21 14:48:07 +08:00 committed by GitHub
parent 1fb7df12d7
commit b71163706b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -65,7 +65,7 @@ Workflow applications offers non-session support and is ideal for translation, a
### CompletionResponse
Returns the App result, `Content-Type` is `application/json`.
- `log_id` (string) Unique log ID
- `workflow_run_id` (string) Unique ID of workflow execution
- `task_id` (string) Task ID, used for request tracking and the below Stop Generate API
- `data` (object) detail of result
- `id` (string) ID of workflow execution
@ -178,7 +178,7 @@ Workflow applications offers non-session support and is ideal for translation, a
<CodeGroup title="Response">
```json {{ title: 'Response' }}
{
"log_id": "djflajgkldjgd",
"workflow_run_id": "djflajgkldjgd",
"task_id": "9da23599-e713-473b-982c-4328d4f5c78a",
"data": {
"id": "fdlsjfjejkghjda",

View File

@ -63,7 +63,7 @@ Workflow 应用无会话支持,适合用于翻译/文章写作/总结 AI 等
### CompletionResponse
返回完整的 App 结果,`Content-Type` 为 `application/json` 。
- `log_id` (string) 日志 ID
- `workflow_run_id` (string) workflow 执行 ID
- `task_id` (string) 任务 ID用于请求跟踪和下方的停止响应接口
- `data` (object) 详细内容
- `id` (string) workflow 执行 ID
@ -174,7 +174,7 @@ Workflow 应用无会话支持,适合用于翻译/文章写作/总结 AI 等
<CodeGroup title="Response">
```json {{ title: 'Response' }}
{
"log_id": "djflajgkldjgd",
"workflow_run_id": "djflajgkldjgd",
"task_id": "9da23599-e713-473b-982c-4328d4f5c78a",
"data": {
"id": "fdlsjfjejkghjda",