Skip to content

Commit afb4704

Browse files
authored
Fix: Error: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'
1 parent f89ab37 commit afb4704

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/pipelines/providers/anthropic_manifold_pipeline.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ def pipe(
173173
# Allow users to input an integer value representing budget tokens
174174
if (
175175
not budget_tokens
176+
and reasoning_effort is not None
176177
and reasoning_effort not in REASONING_EFFORT_BUDGET_TOKEN_MAP.keys()
177178
):
178179
try:

0 commit comments

Comments
 (0)