Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: suggest service api missed user in query (#2918)
Joel9a3d5729bbce
diff --git a/web/app/components/develop/template/template_chat.en.mdx b/web/app/components/develop/template/template_chat.en.mdxindex d4d1e8e4b69..6a0066bbe62 100644--- a/web/app/components/develop/template/template_chat.en.mdx+++ b/web/app/components/develop/template/template_chat.en.mdx@@ -444,10 +444,18 @@ Chat applications support session persistence, allowing previous chat history toMessage ID</Property></Properties>++ ### Query+ <Properties>+ <Property name='user' type='string' key='user'>+ User identifier, used to define the identity of the end-user for retrieval and statistics.+ Should be uniquely defined by the developer within the application.+ </Property>+ </Properties></Col><Col sticky>- <CodeGroup title="Request" tag="GET" label="/messages/{message_id}/suggested" targetCode={`curl --location --request GET '${props.appDetail.api_base_url}/messages/{message_id}/suggested \\\n--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \\\n--header 'Content-Type: application/json'`}>+ <CodeGroup title="Request" tag="GET" label="/messages/{message_id}/suggested" targetCode={`curl --location --request GET '${props.appDetail.api_base_url}/messages/{message_id}/suggested?user=abc-123& \\\n--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \\\n--header 'Content-Type: application/json'`}>```bash {{ title: 'cURL' }}curl --location --request GET '${props.appDetail.api_base_url}/messages/{message_id}/suggested' \diff --git a/web/app/components/develop/template/template_chat.zh.mdx b/web/app/components/develop/template/template_chat.zh.mdxindex dc8d600d00f..e513f39339e 100644--- a/web/app/components/develop/template/template_chat.zh.mdx+++ b/web/app/components/develop/template/template_chat.zh.mdx@@ -459,10 +459,17 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'Message ID</Property></Properties>++ ### Query+ <Properties>+ <Property name='user' type='string' key='user'>+ 用户标识,由开发者定义规则,需保证用户标识在应用内唯一。+ </Property>+ </Properties></Col><Col sticky>- <CodeGroup title="Request" tag="GET" label="/messages/{message_id}/suggested" targetCode={`curl --location --request GET '${props.appDetail.api_base_url}/messages/{message_id}/suggested \\\n--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \\\n--header 'Content-Type: application/json'`}>+ <CodeGroup title="Request" tag="GET" label="/messages/{message_id}/suggested" targetCode={`curl --location --request GET '${props.appDetail.api_base_url}/messages/{message_id}/suggested?user=abc-123 \\\n--header 'Authorization: Bearer ENTER-YOUR-SECRET-KEY' \\\n--header 'Content-Type: application/json'`}>```bash {{ title: 'cURL' }}curl --location --request GET '${props.appDetail.api_base_url}/messages/{message_id}/suggested' \