-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[FIX] adding agent results in a 500 error #1036
Comments
Hi @baditaflorin , could you share details of how you've configured your Ai model configuration and chat model options? The error seems to be originating from the call to the LLM. |
I don't even know how to respond as I have tried every possible permutations that they are. I had put it in offline mode, in openai mode it never worked and the logs are useless
server-1 | │ 13 │ │ │ if isinstance(ex │
|
To try to have everything in one place this is the setup that I needed to arrive just to be able to access the admin panel repeatably without the CORS errors and to try to have all things in one network so they can communicate between themselves entrypoint.sh
Dockerfile.khoj
docker-compose.yml
|
I also encountered the same problem. |
@baditaflorin that's a pretty intense setup. If I'm reading the config correctly, are you trying to run Khoj from the github.dev remote/cloud editor thing? I'm not familiar with the networking setup on github.dev to comment
Otherwise, with those changes were you able to use Khoj from that github.dev domain? |
I was using github codespaces because i had some port issues on my machine. Like settings the Ollama to the internal ip of ollama because the django admin backend does not allow me to use http://ollama:11434/v1
and for the CSRF things, i added as much as possible even if overkill to be able to login into the backend |
Describe the bug
A clear and concise description of what the bug is. Please include what you were expecting to happen vs. what actually happened.
To Reproduce
Steps to reproduce the behavior:
Screenshots
If applicable, add screenshots to help explain your problem.
Platform
If self-hosted
Additional context
Add any other context about the problem here.
Request URL:
http://localhost:42110/api/agents
Request Method:
POST
Status Code:
500 Internal Server Error
Remote Address:
localhost:42110
Referrer Policy:
strict-origin-when-cross-origin
Payload
{"name":"dsa","persona":"das","color":"cyan","icon":"Code","privacy_level":"private","chat_model":"bartowski/gemma-2-2b-it-GGUF","files":[]}
The text was updated successfully, but these errors were encountered: