Fix: Error: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'

This commit is contained in:
reasv 2025-03-10 23:22:43 +01:00 committed by GitHub
parent f89ab37f53
commit afb4704034
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: