mirror of https://github.com/langgenius/dify.git
fix: correct indentation in JSON payloads (#26871)
This commit is contained in:
parent
3e5e87930c
commit
9e39be0770
|
|
@ -199,7 +199,7 @@ Chat applications support session persistence, allowing previous chat history to
|
|||
--header 'Authorization: Bearer {api_key}' \\
|
||||
--header 'Content-Type: application/json' \\
|
||||
--data-raw '{
|
||||
"inputs": ${JSON.stringify(props.inputs)},
|
||||
"inputs": ${JSON.stringify(props.inputs)},
|
||||
"query": "What are the specs of the iPhone 13 Pro Max?",
|
||||
"response_mode": "streaming",
|
||||
"conversation_id": "",
|
||||
|
|
@ -1182,7 +1182,7 @@ Chat applications support session persistence, allowing previous chat history to
|
|||
--header 'Content-Type: application/json' \\
|
||||
--data-raw '{
|
||||
"value": "Updated Value",
|
||||
"user": "abc-123"
|
||||
"user": "abc-123"
|
||||
}'`}
|
||||
/>
|
||||
|
||||
|
|
|
|||
|
|
@ -1188,7 +1188,7 @@ import { Row, Col, Properties, Property, Heading, SubProperty } from '../md.tsx'
|
|||
--header 'Content-Type: application/json' \\
|
||||
--data-raw '{
|
||||
"value": "Updated Value",
|
||||
"user": "abc-123"
|
||||
"user": "abc-123"
|
||||
}'`}
|
||||
/>
|
||||
|
||||
|
|
|
|||
|
|
@ -182,7 +182,7 @@ Workflow 应用无会话支持,适合用于翻译/文章写作/总结 AI 等
|
|||
--header 'Authorization: Bearer {api_key}' \\
|
||||
--header 'Content-Type: application/json' \\
|
||||
--data-raw '{
|
||||
"inputs": ${JSON.stringify(props.inputs)},
|
||||
"inputs": ${JSON.stringify(props.inputs)},
|
||||
"response_mode": "streaming",
|
||||
"user": "abc-123"
|
||||
}'`}
|
||||
|
|
|
|||
Loading…
Reference in New Issue