Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,8 @@ def start_inference(data):
|
|
31 |
langsmith_key=data[langsmith_api_key]
|
32 |
)
|
33 |
|
34 |
-
clear_memory
|
|
|
35 |
|
36 |
graph = build_planner_graph(memory, config["configurable"])
|
37 |
with open("images/graph_png.png", "wb") as f:
|
|
|
31 |
langsmith_key=data[langsmith_api_key]
|
32 |
)
|
33 |
|
34 |
+
#TO DO function : clear_memory
|
35 |
+
#clear_memory(memory, config["configurable"].get("thread_id"))
|
36 |
|
37 |
graph = build_planner_graph(memory, config["configurable"])
|
38 |
with open("images/graph_png.png", "wb") as f:
|