fix: correct indentation in JSON payloads (#26871)

This commit is contained in:
GuanMu
2025-10-14 19:41:01 +08:00
committed by GitHub
parent 3e5e87930c
commit 9e39be0770
3 changed files with 4 additions and 4 deletions

View File

@@ -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"
}'`}
/>