[router][CI] Clean up deprecated fields in pr-test-pd-router.yml (#11739)
This commit is contained in:
4
.github/workflows/pr-test-pd-router.yml
vendored
4
.github/workflows/pr-test-pd-router.yml
vendored
@@ -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:
|
|||||||
{"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
|
||||||
|
|||||||
Reference in New Issue
Block a user