mirror of
https://github.com/open-webui/pipelines
synced 2025-05-10 15:40:55 +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
|
||||
if (
|
||||
not budget_tokens
|
||||
and reasoning_effort is not None
|
||||
and reasoning_effort not in REASONING_EFFORT_BUDGET_TOKEN_MAP.keys()
|
||||
):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user