diff --git a/src/frontend/src/utils/utils.ts b/src/frontend/src/utils/utils.ts index 4d9c73f3d..667be3d0a 100644 --- a/src/frontend/src/utils/utils.ts +++ b/src/frontend/src/utils/utils.ts @@ -368,7 +368,7 @@ export function getCurlCode( window.location.host }/api/v1/process/${flowId} \\ -H 'Content-Type: application/json' \\ - -d '{"inputs": ${inputs}, "tweaks": ${ + -d '{"inputs": ${inputs},"api_key": "...", "tweaks": ${ tweak && tweak.length > 0 ? buildTweakObject(tweak) : JSON.stringify(tweaks, null, 2) @@ -426,6 +426,7 @@ chat_input_field: Input key that you want the chat to send the user message with ` : "" }host_url="http://localhost:7860" + api_key="..." >`; }