mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-26 07:20:57 +08:00
* version-1.9.0-docs * [autofix.ci] apply automated fixes * [autofix.ci] apply automated fixes (attempt 2/3) --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
14 lines
304 B
Bash
14 lines
304 B
Bash
BASE_URL="${LANGFLOW_SERVER_URL:-$LANGFLOW_URL}"
|
|
|
|
curl -X POST \
|
|
"$BASE_URL/api/v1/responses" \
|
|
-H "x-api-key: $LANGFLOW_API_KEY" \
|
|
-H "Content-Type: application/json" \
|
|
-d @- <<EOF
|
|
{
|
|
"model": "$FLOW_ID",
|
|
"input": "What's my name?",
|
|
"previous_response_id": "session-alice-1756839048"
|
|
}
|
|
EOF
|