chat persistence breaks and chat deletion not working offline #2787
Replies: 4 comments 17 replies
-
You can chat completely offline, I do it often. Use this config for ollama - name: "Ollama"
apiKey: "ollama"
baseURL: "http://localhost:11434/v1/" # adjust as needed
# baseURL: "http://host.docker.internal:11434/v1/" # <-- usual value needed for docker
models:
default: [
"llama3:latest",
"command-r",
"mixtral",
"phi3",
]
fetch: true
dropParams: ["presence_penalty"]
titleConvo: true
titleModel: "current_model" |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I suspect the main issue is that the PWA service worker is getting stuck when offline. Web apps can be weird like that. This might help and will investigate soon: https://adueck.github.io/blog/caching-everything-for-totally-offline-pwa-vite-react/ |
Beta Was this translation helpful? Give feedback.
-
I tried some changes maybe they will help. I can run the app with my ethernet unplugged and windows on desktop mode. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
using the app offline i.e. disconnected from network/internet. Although, chatting with a ollama model works, switching between chats and/or creating a new one shows no/wrong content. deleting a chat is not possible.
It all seems to recover in a while when network/internet connection is available again.
potential cause: chat title uses another llm, likely a cloud service version/openai, since it is not generated when off-line. Not sure why this would be related to deleting
Steps to Reproduce
main commit: f0e8cca
docker install on macos
What browsers are you seeing the problem on?
Firefox
Relevant log output
No response
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions