Closed jorge-menjivar closed 8 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
unsaged | ❌ Failed (Inspect) | Dec 23, 2023 2:50am |
I think we should create a new directory for your changes so our monorepo structure will look like this: apps docs desktop web
packages eslint-config-custom tsconfig shared-code (coming later)
I think we should create a new directory for your changes so our monorepo structure will look like this: apps docs desktop web
packages eslint-config-custom tsconfig shared-code (coming later)
Good idea!
The streaming functions and ollama model fetcher are now rusty. Running outside the browser environment allows us to skip CORS checks by the browser. This means that the optional section is no longer needed and ollama should work out of the box.
Closing this in favor of #165 to make it easier to merge
Work in progress. This pull request has the code for building Windows, macOS, and Linux applications. This will become a separate app in the monorepo, although this app also contains many updates that will also be merged into the web app.
The following are the things that will differentiate the desktop app:
Progress:
Instructions to run desktop app:
pnpm install
cd apps/desktop
pnpm tauri dev
Optional
You shouldn't have to do this for ollama to work, but I'm leaving this just in case. To access ollama models you must set the env variable
OLLAMA_ORIGINS=*://localhost
for the ollama service.Their documentation is not very clear, so here's my guide:
Linux
Add the following content to
/etc/systemd/system/ollama.service.d/environment.conf
. You may need to create the file and directory.Run
macOS
OLLAMA_ORIGINS=*://localhost ollama serve
Ollama documentation source