From 87a80d7613a848f28054986e8e6291543ba51d93 Mon Sep 17 00:00:00 2001 From: OneZero-Y Date: Sun, 9 Nov 2025 21:38:06 +0800 Subject: [PATCH] docs: clarify how to obtain workflow_id for version execution (#28007) Signed-off-by: OneZero-Y --- web/app/components/develop/template/template_chat.en.mdx | 3 ++- web/app/components/develop/template/template_chat.ja.mdx | 3 ++- web/app/components/develop/template/template_chat.zh.mdx | 3 ++- web/app/components/develop/template/template_workflow.ja.mdx | 2 +- web/app/components/develop/template/template_workflow.zh.mdx | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/web/app/components/develop/template/template_chat.en.mdx b/web/app/components/develop/template/template_chat.en.mdx index df31177127..1e4e767d6d 100644 --- a/web/app/components/develop/template/template_chat.en.mdx +++ b/web/app/components/develop/template/template_chat.en.mdx @@ -74,7 +74,8 @@ Chat applications support session persistence, allowing previous chat history to If set to `false`, can achieve async title generation by calling the conversation rename API and setting `auto_generate` to `true`. - (Optional) Workflow ID to specify a specific version, if not provided, uses the default published version. + (Optional) Workflow ID to specify a specific version, if not provided, uses the default published version.
+ How to obtain: In the version history interface, click the copy icon on the right side of each version entry to copy the complete workflow ID.
(Optional) Trace ID. Used for integration with existing business trace components to achieve end-to-end distributed tracing. If not provided, the system will automatically generate a trace_id. Supports the following three ways to pass, in order of priority:
diff --git a/web/app/components/develop/template/template_chat.ja.mdx b/web/app/components/develop/template/template_chat.ja.mdx index eafa653cad..6ba80d8890 100644 --- a/web/app/components/develop/template/template_chat.ja.mdx +++ b/web/app/components/develop/template/template_chat.ja.mdx @@ -74,7 +74,8 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from `false`に設定すると、会話のリネームAPIを呼び出し、`auto_generate`を`true`に設定することで非同期タイトル生成を実現できます。
- (オプション)ワークフローID、特定のバージョンを指定するために使用、提供されない場合はデフォルトの公開バージョンを使用。 + (オプション)ワークフローID、特定のバージョンを指定するために使用、提供されない場合はデフォルトの公開バージョンを使用。
+ 取得方法:バージョン履歴インターフェースで、各バージョンエントリの右側にあるコピーアイコンをクリックすると、完全なワークフローIDをコピーできます。
(オプション)トレースID。既存の業務システムのトレースコンポーネントと連携し、エンドツーエンドの分散トレーシングを実現するために使用します。指定がない場合、システムが自動的に trace_id を生成します。以下の3つの方法で渡すことができ、優先順位は次のとおりです:
diff --git a/web/app/components/develop/template/template_chat.zh.mdx b/web/app/components/develop/template/template_chat.zh.mdx index fc3fd6d0d2..bf69be2c28 100644 --- a/web/app/components/develop/template/template_chat.zh.mdx +++ b/web/app/components/develop/template/template_chat.zh.mdx @@ -72,7 +72,8 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx' (选填)自动生成标题,默认 `true`。 若设置为 `false`,则可通过调用会话重命名接口并设置 `auto_generate` 为 `true` 实现异步生成标题。
- (选填)工作流ID,用于指定特定版本,如果不提供则使用默认的已发布版本。 + (选填)工作流ID,用于指定特定版本,如果不提供则使用默认的已发布版本。
+ 获取方式:在版本历史界面,点击每个版本条目右侧的复制图标即可复制完整的工作流 ID。
(选填)链路追踪ID。适用于与业务系统已有的trace组件打通,实现端到端分布式追踪等场景。如果未指定,系统会自动生成trace_id。支持以下三种方式传递,具体优先级依次为:
diff --git a/web/app/components/develop/template/template_workflow.ja.mdx b/web/app/components/develop/template/template_workflow.ja.mdx index ff809b8a9c..688aaae9be 100644 --- a/web/app/components/develop/template/template_workflow.ja.mdx +++ b/web/app/components/develop/template/template_workflow.ja.mdx @@ -344,7 +344,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty, Paragraph } from ### パス - `workflow_id` (string) 必須 特定バージョンのワークフローを指定するためのワークフローID - 取得方法:バージョン履歴で特定バージョンのワークフローIDを照会できます。 + 取得方法:バージョン履歴インターフェースで、各バージョンエントリの右側にあるコピーアイコンをクリックすると、完全なワークフローIDをコピーできます。 ### リクエストボディ - `inputs` (object) 必須 diff --git a/web/app/components/develop/template/template_workflow.zh.mdx b/web/app/components/develop/template/template_workflow.zh.mdx index 0e2b19df83..32ad342c71 100644 --- a/web/app/components/develop/template/template_workflow.zh.mdx +++ b/web/app/components/develop/template/template_workflow.zh.mdx @@ -334,7 +334,7 @@ Workflow 应用无会话支持,适合用于翻译/文章写作/总结 AI 等 ### Path - `workflow_id` (string) Required 工作流ID,用于指定特定版本的工作流 - 获取方式:可以在版本历史中查询特定版本的工作流ID。 + 获取方式:在版本历史界面,点击每个版本条目右侧的复制图标即可复制完整的工作流 ID。 ### Request Body - `inputs` (object) Required