Unverified Commit 9e87b60f authored by Chang Su's avatar Chang Su Committed by GitHub
Browse files

[router][CI] Clean up deprecated fields in `pr-test-pd-router.yml` (#11739)

parent 7780230a
...@@ -257,7 +257,7 @@ jobs: ...@@ -257,7 +257,7 @@ jobs:
{"role": "user", "content": "Write a Python function to calculate fibonacci numbers recursively"} {"role": "user", "content": "Write a Python function to calculate fibonacci numbers recursively"}
], ],
"stream": false, "stream": false,
"max_tokens": 100 "max_completion_tokens": 100
}') }')
if echo "$response" | jq -e '.choices[0].message.content' > /dev/null 2>&1; then if echo "$response" | jq -e '.choices[0].message.content' > /dev/null 2>&1; then
...@@ -279,7 +279,7 @@ jobs: ...@@ -279,7 +279,7 @@ jobs:
{"role": "user", "content": "Count from 1 to 5"} {"role": "user", "content": "Count from 1 to 5"}
], ],
"stream": true, "stream": true,
"max_tokens": 50 "max_completion_tokens": 50
}') }')
if echo "$stream_response" | grep -q "data:"; then if echo "$stream_response" | grep -q "data:"; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment