mirror of
https://github.com/open-webui/pipelines.git
synced 2026-11-05 01:37:24 +00:00
[PR #460] [MERGED] Fix: Error: int() argument must be a string, a bytes-like object or a… #430
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
open-webui/pipelines#430
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/pipelines/pull/460
Author: @reasv
Created: 3/10/2025
Status: ✅ Merged
Merged: 4/14/2025
Merged by: @tjbck
Base:
main← Head:patch-1📝 Commits (1)
afb4704Fix: Error: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
examples/pipelines/providers/anthropic_manifold_pipeline.py(+1 -0)📄 Description
The pipeline will throw an uncaught exception whenever
reasoning_effortisNonebecause it is aTypeErrorand the try/catch block only catchesValueErrorThis PR fixes it by checking if the value is None and skipping the int conversion step entirely if it is.
The error is easy to reproduce:
Error: int() argument must be a string, a bytes-like object or a real number, not 'NoneType'🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.