From d442a9835fd2c6d6eb2c46ff2761269c525d2301 Mon Sep 17 00:00:00 2001
From: Alter-xyz <88554920+alterxyz@users.noreply.github.com>
Date: Fri, 13 Jun 2025 18:41:43 +0800
Subject: [PATCH] updates
---
web/app/components/develop/template/template.en.mdx | 2 +-
.../components/develop/template/template_advanced_chat.zh.mdx | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/web/app/components/develop/template/template.en.mdx b/web/app/components/develop/template/template.en.mdx
index 6a0fbf8049..89d733666f 100755
--- a/web/app/components/develop/template/template.en.mdx
+++ b/web/app/components/develop/template/template.en.mdx
@@ -290,7 +290,7 @@ The text generation application offers non-session support and is ideal for tran
- `task_id` (string) Task ID, can be obtained from the streaming chunk return
Request Body
- `user` (string) Required
- User identifier, used to define the identity of the end-user, must be consistent with the user passed in the send message interface. The Service API does not share conversations created by the WebApp.
+ User identifier, used to define the identity of the end-user, must be consistent with the user passed in the send message interface. The Service API does not share conversations created by the WebApp.
### Response
- `result` (string) Always returns "success"
diff --git a/web/app/components/develop/template/template_advanced_chat.zh.mdx b/web/app/components/develop/template/template_advanced_chat.zh.mdx
index 6d195c97dc..fa3ad3f37f 100755
--- a/web/app/components/develop/template/template_advanced_chat.zh.mdx
+++ b/web/app/components/develop/template/template_advanced_chat.zh.mdx
@@ -50,7 +50,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
默认 `{}`
- - `streaming` 流式模式(推荐)。 基于 SSE(**[Server-Sent Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events)**)实现类似打字机输出方式的流式返回。
+ - `streaming` 流式模式(推荐)。基于 SSE(**[Server-Sent Events](https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events)**)实现类似打字机输出方式的流式返回。
- `blocking` 阻塞模式,等待执行完毕后返回结果。(请求若流程较长可能会被中断)。
由于 Cloudflare 限制,请求会在 100 秒超时无返回后中断。
@@ -428,7 +428,6 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
-
---