mirror of
https://github.com/geoffsee/predict-otron-9001.git
synced 2025-09-08 22:46:44 +00:00
fix invalid endpoint in curl_stream_script.sh
This commit is contained in:
@@ -35,7 +35,7 @@ curl -N -sS -X POST \
|
|||||||
--connect-timeout "$CONNECT_TIMEOUT" \
|
--connect-timeout "$CONNECT_TIMEOUT" \
|
||||||
--max-time "$MAX_TIME" \
|
--max-time "$MAX_TIME" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
"$SERVER_URL/v1/chat/completions/stream" \
|
"$SERVER_URL/v1/chat/completions" \
|
||||||
-d @- <<JSON
|
-d @- <<JSON
|
||||||
{
|
{
|
||||||
"model": "${MODEL_ID}",
|
"model": "${MODEL_ID}",
|
||||||
|
Reference in New Issue
Block a user