mirror of
https://github.com/hanzoai/flow.git
synced 2026-10-17 01:29:18 +00:00
14 lines
300 B
Bash
14 lines
300 B
Bash
BASE_URL="${FLOW_SERVER_URL:-$FLOW_URL}"
|
|
|
|
curl -X POST \
|
|
"$BASE_URL/v1/responses" \
|
|
-H "x-api-key: $FLOW_API_KEY" \
|
|
-H "Content-Type: application/json" \
|
|
-d @- <<EOF
|
|
{
|
|
"model": "$FLOW_ID",
|
|
"input": "What's my name?",
|
|
"previous_response_id": "c45f4ac8-772b-4675-8551-c560b1afd590"
|
|
}
|
|
EOF
|