-
Notifications
You must be signed in to change notification settings - Fork 320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why is it saying method not allowed? #25
Comments
me too. |
File system permissions? |
You have to add |
Will try, also was about to ask when I refreshed and saw your comment Edit: it works, but if there's no files then it will spit an error |
`INFO: Will watch for changes in these directories: ['/Users//Documents/llama-fs'] INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit) INFO: Started reloader process [25668] using WatchFiles INFO: Started server process [25672] INFO: Waiting for application startup. INFO: Application startup complete. **INFO: 127.0.0.1:55355 - "GET /batch HTTP/1.1" 405 Method Not Allowed INFO: 127.0.0.1:55356 - "GET /watch HTTP/1.1" 405 Method Not Allowed`** |
ok, curl -X POST http://127.0.0.1:8000/batch -H "Content-Type: application/json" -d '{"path": "/home/john/Downloads/", "instruction": "organize", "incognito": true}' seemed to work. However, I would need to give it some useful documents to check. also https://github.com/iyaja/llama-fs says we must use fastapi but I found it runs if you use 'uvicorn' instead... couldn't get fastapi to work/install/run. |
mosleh@Moslehs-MacBook-Pro organize % curl -X POST http://127.0.0.1:8000 -H "Content-Type: application/json" -d '{"path": "/Users/mosleh/Downloads/", "instruction": "organize", "incognito": true}'
{"detail":"Method Not Allowed"}%
Ollama running in the background
The text was updated successfully, but these errors were encountered: