mirror of
https://github.com/open-webui/pipelines
synced 2025-05-15 01:45:43 +00:00
Merge pull request #460 from reasv/patch-1
Fix: Error: int() argument must be a string, a bytes-like object or a…
This commit is contained in:
commit
6c6e3bd45d
@ -173,6 +173,7 @@ class Pipeline:
|
|||||||
# Allow users to input an integer value representing budget tokens
|
# Allow users to input an integer value representing budget tokens
|
||||||
if (
|
if (
|
||||||
not budget_tokens
|
not budget_tokens
|
||||||
|
and reasoning_effort is not None
|
||||||
and reasoning_effort not in REASONING_EFFORT_BUDGET_TOKEN_MAP.keys()
|
and reasoning_effort not in REASONING_EFFORT_BUDGET_TOKEN_MAP.keys()
|
||||||
):
|
):
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user