Merge branch 'dev' of personal:logspace-ai/langflow into dev
This commit is contained in:
commit
2e4111c36f
1 changed files with 2 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ def process_data_graph(data_graph: Dict[str, Any]):
|
|||
extracted_json = loading.extract_json(data_graph)
|
||||
|
||||
message = data_graph["message"]
|
||||
flow_id = data_graph["id"]
|
||||
# Process json
|
||||
result, thought = get_result_and_thought(extracted_json, message)
|
||||
|
||||
|
|
@ -26,6 +27,7 @@ def process_data_graph(data_graph: Dict[str, Any]):
|
|||
"thought": re.sub(
|
||||
r"\x1b\[([0-9,A-Z]{1,2}(;[0-9,A-Z]{1,2})?)?[m|K]", "", thought
|
||||
).strip(),
|
||||
"id": flow_id,
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue