fix: add double quotes to curl command generation (#3337)
This commit is contained in:
parent
9035f1194f
commit
493b73f9d8
1 changed files with 2 additions and 2 deletions
|
|
@ -28,8 +28,8 @@ export function getCurlRunCode(
|
|||
!isAuth ? `\n -H 'x-api-key: <your api key>'\\` : ""
|
||||
}
|
||||
-d '{"input_value": "message",
|
||||
"output_type": ${hasChatOutput ? "chat" : "text"},
|
||||
"input_type": ${hasChatInput ? "chat" : "text"},
|
||||
"output_type": ${hasChatOutput ? '"chat"' : '"text"'},
|
||||
"input_type": ${hasChatInput ? '"chat"' : '"text"'},
|
||||
"tweaks": ${tweaksString}}'
|
||||
`;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue