Looks like there are a couple of imports that attempt to go up one directory higher than they should.
Was running into a stubborn issue with this file where it would not be loaded by ComfyUI when accessing Comfy hosted in a subdirectory using a reverse proxy (e.g., [http://example.com/comfy/]()). When hosted at the root, the extra ../ is silently ignored and all appears well, but when running Comfy in a subdirectory, it ends up going outside of the subdirectory and causes these imports to fail, causing the autocompleter extension to fail.
Should solve #179, as I was seeing the same issue.
Looks like there are a couple of imports that attempt to go up one directory higher than they should.
Was running into a stubborn issue with this file where it would not be loaded by ComfyUI when accessing Comfy hosted in a subdirectory using a reverse proxy (e.g., [http://example.com/comfy/]()). When hosted at the root, the extra
../
is silently ignored and all appears well, but when running Comfy in a subdirectory, it ends up going outside of the subdirectory and causes these imports to fail, causing the autocompleter extension to fail.Should solve #179, as I was seeing the same issue.