rashadphz / farfalle

🔍 AI search engine - self-host with local or cloud LLMs
https://www.farfalle.dev/
Apache License 2.0
2.64k stars 234 forks source link

Random 500: Expecting ',' delimiter: line 1 column 7011 (char 7010) #44

Open GabrielLanghans opened 4 months ago

GabrielLanghans commented 4 months ago

Hello and congratulations for this amazing project :)

I'm facing some issues while running on local models (actually not tested with non local). The search allways works but the AI insights rarely works. What happens most of the time is that it starts to type but aventually, before finish, it throws an error like this: 500: Expecting ',' delimiter: line 1 column 7011 (char 7010) It's allways a different column though. I have tested with llama3 and mistral over ollama and I'm using searxng. image

docker-compose.yml: `services: backend: build: context: . dockerfile: ./src/backend/Dockerfile restart: unless-stopped ports:

.env `ENABLE_LOCAL_MODELS=True OLLAMA_HOST=http://192.168.60.234:11434 SEARCH_PROVIDER=searxng

SEARXNG_BASE_URL=http://searxng:8090

NEXT_PUBLIC_API_URL=http://192.168.60.260:8004 NEXT_PUBLIC_LOCAL_MODE_ENABLED=true`

Error Log: image

ProjectMoon commented 3 months ago

This is probably duplicate of #37