mirror of
https://github.com/open-webui/pipelines
synced 2025-05-10 23:50:45 +00:00
Fix: Error: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
This commit is contained in:
parent
f89ab37f53
commit
afb4704034
@ -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