From afb4704034870075333e060aa56e6114b0154f36 Mon Sep 17 00:00:00 2001 From: reasv <7143787+reasv@users.noreply.github.com> Date: Mon, 10 Mar 2025 23:22:43 +0100 Subject: [PATCH] Fix: Error: int() argument must be a string, a bytes-like object or a real number, not 'NoneType' --- examples/pipelines/providers/anthropic_manifold_pipeline.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/pipelines/providers/anthropic_manifold_pipeline.py b/examples/pipelines/providers/anthropic_manifold_pipeline.py index 29dd2d7..069ecf1 100644 --- a/examples/pipelines/providers/anthropic_manifold_pipeline.py +++ b/examples/pipelines/providers/anthropic_manifold_pipeline.py @@ -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: