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:
Tim Jaeryang Baek 2025-04-14 08:54:38 -07:00 committed by GitHub
commit 6c6e3bd45d
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: