Files

15 lines
322 B
Bash

BASE_URL="${FLOW_SERVER_URL:-$FLOW_URL}"
curl -X POST \
"$BASE_URL/v1/responses" \
-H "Content-Type: application/json" \
-H "x-api-key: $FLOW_API_KEY" \
-d @- <<EOF
{
"model": "$FLOW_ID",
"input": "Calculate 23 * 15 and show me the result",
"stream": false,
"include": ["tool_call.results"]
}
EOF