refac: remove id
This commit is contained in:
parent
2b6ef515e0
commit
c3695ca894
1 changed files with 2 additions and 2 deletions
|
|
@ -14,7 +14,7 @@ def process_data_graph(data_graph: Dict[str, Any]):
|
||||||
extracted_json = loading.extract_json(data_graph)
|
extracted_json = loading.extract_json(data_graph)
|
||||||
|
|
||||||
message = data_graph["message"]
|
message = data_graph["message"]
|
||||||
flow_id = data_graph["id"]
|
# flow_id = data_graph["id"]
|
||||||
# Process json
|
# Process json
|
||||||
result, thought = get_result_and_thought(extracted_json, message)
|
result, thought = get_result_and_thought(extracted_json, message)
|
||||||
|
|
||||||
|
|
@ -27,7 +27,7 @@ def process_data_graph(data_graph: Dict[str, Any]):
|
||||||
"thought": re.sub(
|
"thought": re.sub(
|
||||||
r"\x1b\[([0-9,A-Z]{1,2}(;[0-9,A-Z]{1,2})?)?[m|K]", "", thought
|
r"\x1b\[([0-9,A-Z]{1,2}(;[0-9,A-Z]{1,2})?)?[m|K]", "", thought
|
||||||
).strip(),
|
).strip(),
|
||||||
"id": flow_id,
|
# "id": flow_id,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue