-
Notifications
You must be signed in to change notification settings - Fork 711
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
Request to ollama embeddings forbidden #258
Comments
You can either run a convex backend locally (running on localhost or
127.0.0.1) or in the cloud (*.convex.cloud). Depending how you run it, it
will overwrite the `.env.local` file to point to the right backend.
If you ended up running it in the cloud, it will not be able to access
localhost:11434 since it is not running locally.
The README has some more info on the differences here
…On Sat, Nov 9, 2024 at 10:32 PM city-runner ***@***.***> wrote:
when i run npm run dev will output message 11/10/2024, 2:12:29 PM [CONVEX
A(aiTown/agentOperations:agentGenerateMessage)] Uncaught Error: Request to
http://localhost:11434/api/embeddings forbidden ,the Characters cannot
have normal conversations
I found a runnable version and .env.local has VITE_CONVEX_URL=
http://127.0.0.1:3210 but The current version VITE_CONVEX_URL=
https://precious-goldfinch-694.convex.cloud.
if i use just convex env set VITE_CONVEX_URL http://127.0.0.1:3210 or
edit .env.local by vim ,dev:frontend will run error and not display the
town.
Maybe I guessed wrong, this error is caused by other reasons.My platform
is win10 wsl2
—
Reply to this email directly, view it on GitHub
<#258>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACZQW6XKOMKCXBWKBA453DZ734ZDAVCNFSM6AAAAABRP4QDGWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGY2DMOBYG43DIMQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
What I mean is that I can't run this project properly locally, I can access |
I have the same problem. How can I change to use the code locally. I have run it using "npm run dev:frontend" and "npm run dev:backend" |
and I have checked the use of ollama |
How can I select to use cloud or local |
by setting the URL in .env.local to point to the local backend:
```sh
VITE_CONVEX_URL=http://127.0.0.1:3210
```
Currently the dashboard can't point to the local deployment, but there are
some efforts to be able to run `convex dev` locally that does connect the
dashboard. Stay tuned in [discord](https://convex.dev/community) for that
…On Wed, Nov 20, 2024 at 2:12 AM LieRenXZ ***@***.***> wrote:
How can I select to use cloud or local
—
Reply to this email directly, view it on GitHub
<#258 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACZQW6WQTHJUY6DZMBTJTD2BROCNAVCNFSM6AAAAABRP4QDGWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBYGE2TOMBWGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
when i run
npm run dev
will output message11/10/2024, 2:12:29 PM [CONVEX A(aiTown/agentOperations:agentGenerateMessage)] Uncaught Error: Request to http://localhost:11434/api/embeddings forbidden
,the Characters cannot have normal conversationsI found a runnable version and
.env.local
hasVITE_CONVEX_URL=http://127.0.0.1:3210
but The current versionVITE_CONVEX_URL=https://precious-goldfinch-694.convex.cloud
.if i use
just convex env set VITE_CONVEX_URL http://127.0.0.1:3210
or edit.env.local
by vim ,dev:frontend will run error and not display the town.Maybe I guessed wrong, this error is caused by other reasons.My platform is win10 wsl2
The text was updated successfully, but these errors were encountered: