mirror of
https://github.com/langflow-ai/langflow.git
synced 2026-07-23 22:44:41 +08:00
🐛 fix(process.py): handle unknown langchain_object types by returning the object as is instead of raising an exception
This commit is contained in:
@ -131,6 +131,7 @@ def process_graph_cached(
|
||||
result = langchain_object.dict()
|
||||
else:
|
||||
logger.warning(f"Unknown langchain_object type: {type(langchain_object)}")
|
||||
result = langchain_object
|
||||
|
||||
return result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user