Refactor: update Code Tabs PopUp with api_key
This commit is contained in:
parent
610e94759a
commit
b1ef10e79b
1 changed files with 2 additions and 1 deletions
|
|
@ -368,7 +368,7 @@ export function getCurlCode(
|
||||||
window.location.host
|
window.location.host
|
||||||
}/api/v1/process/${flowId} \\
|
}/api/v1/process/${flowId} \\
|
||||||
-H 'Content-Type: application/json' \\
|
-H 'Content-Type: application/json' \\
|
||||||
-d '{"inputs": ${inputs}, "tweaks": ${
|
-d '{"inputs": ${inputs},"api_key": "...", "tweaks": ${
|
||||||
tweak && tweak.length > 0
|
tweak && tweak.length > 0
|
||||||
? buildTweakObject(tweak)
|
? buildTweakObject(tweak)
|
||||||
: JSON.stringify(tweaks, null, 2)
|
: 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"
|
}host_url="http://localhost:7860"
|
||||||
|
api_key="..."
|
||||||
></langflow-chat>`;
|
></langflow-chat>`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue