But your code seems better related to the way you handle the threads. I am trying to test it but found a few problems:
1- When I try to install after a did git clone
(base) -> pdm install
All packages are synced to date, nothing to do.
Installing the project as an editable package...
โ Install agentsflow 0.1.1 failed
See /var/folders/r6/jgl8b48s325fbkg5jwkg93fc0000gn/T/pdm-install-xk70t_x8.log for detailed debug
log.
[BuildError]: Build backend raised error: Showing the last 10 lines of the build output:
If you are trying to create a single distribution with multiple packages
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:
1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names
To find more information, look for "package discovery" on setuptools docs.
Add '-v' to see the detailed traceback
2- It is missing the "static" directory, I created manually and was able to start