[Feature Request]: Clear Workflow Instances After Execution to Prevent Cache Issues #1896
Open
3 tasks done
Labels
enhancement
New feature or request
Do you need to file an issue?
Is your feature request related to a problem? Please describe.
Currently, based on the workflow type, if the workflow is "extract graph," we instantiate an fnllm instance with the name "extract graph." Similarly, for other workflows, we create instances with the workflow name. However, these instances are not cleared after execution is completed. This leads to issues when creating a new graphrag project and deleting the old graphrag cache. The system uses the old instance and tries to find the old cache, which has been deleted, causing the entire pipeline to fail.
This error occurs in Docker while running the build index inside a Celery worker.
Describe the solution you'd like
Additional context
No response
The text was updated successfully, but these errors were encountered: