zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
50.87k stars 3.15k forks source link

Ran out of free tokens on the Zed default Claude 3.5 Sonnet, obtained an API key for anthopic Claude 3.5 Sonnet but just keep getting Error interacting with language model failed to #19406

Open darshil321 opened 1 month ago

darshil321 commented 1 month ago

Check for existing issues

Describe the bug / provide steps to reproduce it

I'm having trouble with the language model queries through the inline assistant or in a new context window. Every time I try to make a query, I get an error message, which I've included a screenshot of. This is strange because just a few days ago, everything was working fine. I've successfully configured my Anthropic API keys, and I'm using the Claude 3.5 Sonnet model. The telemetry logs don't provide much insight into what's causing the problem, but I've attached them anyway in case they're helpful. I would really appreciate any assistance in figuring out what's going wrong and how to fix this issue.

Environment

Screenshot 2024-10-18 at 11 22 35 AM

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log


maxdeviant commented 1 month ago

@darshil321 Could you include your Zed logs?

erik-balfe commented 1 month ago

I had exactly the same issue. It was resolved automatically on the same day (maybe due to a fix on the backend of Zed AI). I did not update the IDE between the time of the error and when it was resolved

htor commented 1 month ago

I'm getting the same error here. In my logs are some of these:

2024-10-23T02:45:59.505377+02:00 [ERROR] failed to fetch cached embeddings via cloud model

Caused by:
    RPC request GetCachedEmbeddings failed: permission denied
Full log

} 2024-10-23T02:19:01.63246+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:19:01.633034+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:19:01.914907+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:19:01.915044+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:19:01.915139+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:19:01.915865+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:19:02.174127+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:19:02.174252+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:19:02.174364+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:19:02.180368+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:19:02.687776+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:19:02.687907+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:19:02.688024+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:19:02.688498+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:19:05.363545+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:19:05.363687+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:19:05.363888+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:19:05.364706+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:19:05.898792+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:19:05.898933+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:19:05.899031+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:19:05.901078+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:19:29.531209+02:00 [INFO] open paths ["/Users/htor/.config/zed/settings.json"] 2024-10-23T02:22:02.179916+02:00 [ERROR] error sending request for url (http://localhost:11434/api/tags) Caused by: 0: client error (Connect) 1: tcp connect error: Connection refused (os error 61) 2: Connection refused (os error 61) 2024-10-23T02:22:23.948909+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:22:23.949057+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:22:23.949146+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:22:23.949237+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:22:24.790572+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:22:24.790737+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:22:24.790839+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:22:24.790946+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:22:31.858283+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:22:31.858739+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:22:31.860946+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:22:31.867284+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:22:31.869275+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:22:31.8696+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:22:31.871027+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:22:31.874172+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:22:38.218986+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:22:38.223315+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:22:38.223626+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:22:38.224467+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:22:38.226726+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:22:38.227361+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:22:38.231967+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:22:38.232083+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:27:21.481517+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:27:21.481674+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:27:21.481774+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:27:21.481869+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:27:21.580538+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:27:21.580691+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:27:21.580803+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:27:21.580899+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:30:54.551513+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:30:54.551968+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:30:54.552065+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:30:54.552161+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:30:56.274704+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:30:56.274802+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:30:56.274863+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:30:56.274922+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:30:57.51511+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:30:57.515211+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:30:57.516196+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:30:57.516375+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:30:57.802911+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:30:57.803677+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:30:57.803986+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:30:57.804214+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:30:58.611785+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:30:58.611867+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:30:58.611934+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:30:58.613324+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:30:59.34478+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:30:59.344898+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:30:59.345046+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:30:59.345137+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:30:59.51139+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:30:59.511486+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:30:59.511542+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:30:59.511597+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:30:59.647923+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:30:59.648017+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:30:59.648302+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:30:59.648369+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:31:02.642463+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:31:02.642549+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:31:02.642605+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:31:02.642737+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:31:02.718107+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:31:02.718192+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:31:02.718248+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:31:02.718304+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:36:56.970266+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:36:56.970702+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:36:56.971058+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:36:56.972397+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:36:58.629646+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:36:58.630135+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:36:58.630426+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:36:58.630666+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:38:23.087045+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:38:23.087197+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:38:23.087297+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:38:23.087472+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:38:23.787019+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:38:23.787147+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:38:23.787616+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:38:23.787823+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:38:44.02811+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:38:44.028257+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:38:44.041762+02:00 [INFO] Language server with id 8 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:38:44.041929+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:39:06.468615+02:00 [ERROR] oneshot canceled 2024-10-23T02:39:06.468854+02:00 [ERROR] oneshot canceled 2024-10-23T02:39:06.469015+02:00 [ERROR] oneshot canceled 2024-10-23T02:39:06.469192+02:00 [ERROR] oneshot canceled 2024-10-23T02:39:06.469355+02:00 [ERROR] oneshot canceled 2024-10-23T02:39:06.469512+02:00 [ERROR] oneshot canceled 2024-10-23T02:39:06.46968+02:00 [ERROR] oneshot canceled 2024-10-23T02:39:06.469846+02:00 [ERROR] oneshot canceled 2024-10-23T02:39:06.470008+02:00 [ERROR] oneshot canceled 2024-10-23T02:39:08.525534+02:00 [INFO] ========== starting zed ========== 2024-10-23T02:39:08.526734+02:00 [INFO] Opening main db 2024-10-23T02:39:08.527868+02:00 [INFO] Opening main db 2024-10-23T02:39:08.558494+02:00 [INFO] Using git binary path: Some("/Applications/Zed Preview.app/Contents/MacOS/git") 2024-10-23T02:39:08.584691+02:00 [INFO] set environment variables from shell:/opt/homebrew/bin/bash, path:/Users/htor/.cabal/bin:/Users/htor/.ghcup/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/htor/icloud/Programming/files/.bin:. 2024-10-23T02:39:08.784409+02:00 [INFO] no tokio runtime found, creating one for Reqwest... 2024-10-23T02:39:08.804685+02:00 [INFO] initializing context server client 2024-10-23T02:39:08.804837+02:00 [INFO] Registering built-in prompt template: content_prompt 2024-10-23T02:39:08.80517+02:00 [INFO] Registering built-in prompt template: edit_workflow 2024-10-23T02:39:08.805375+02:00 [INFO] Registering built-in prompt template: project_slash_command 2024-10-23T02:39:08.805461+02:00 [INFO] Registering built-in prompt template: step_resolution 2024-10-23T02:39:08.805794+02:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt 2024-10-23T02:39:08.805962+02:00 [INFO] Prompt template overrides directory found at /Users/htor/.config/zed/prompt_overrides. 2024-10-23T02:39:08.806702+02:00 [INFO] extensions updated. loading 7, reloading 0, unloading 0 2024-10-23T02:39:08.837724+02:00 [INFO] Opening main db 2024-10-23T02:39:08.849141+02:00 [WARN] Theme "macOS Classic Light" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead. 2024-10-23T02:39:08.849242+02:00 [WARN] Theme "macOS Classic Dark" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead. 2024-10-23T02:39:08.849322+02:00 [WARN] Theme "macOS Classic Dark2" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead. 2024-10-23T02:39:08.884966+02:00 [INFO] Opening main db 2024-10-23T02:39:08.888615+02:00 [INFO] set status on client 0: Authenticating 2024-10-23T02:39:08.897078+02:00 [INFO] Opening main db 2024-10-23T02:39:08.913054+02:00 [INFO] set status on client 141094: Connecting 2024-10-23T02:39:08.919181+02:00 [INFO] attempting to start language server "json-language-server", path: "/Users/htor/Library/Mobile Documents/com~apple~CloudDocs/Programming/authapi", id: 1 2024-10-23T02:39:08.919344+02:00 [INFO] attempting to start language server "package-version-server", path: "/Users/htor/Library/Mobile Documents/com~apple~CloudDocs/Programming/authapi", id: 2 2024-10-23T02:39:08.920956+02:00 [INFO] fetching latest version of language server "json-language-server" 2024-10-23T02:39:08.923309+02:00 [INFO] fetching latest version of language server "package-version-server" 2024-10-23T02:39:08.974315+02:00 [INFO] using project environment variables shell launched in "/Users/htor/Library/Mobile Documents/com~apple~CloudDocs/Programming/authapi". PATH="/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/htor/.cabal/bin:/Users/htor/.ghcup/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/htor/icloud/Programming/files/.bin:.:/Users/htor/icloud/Programming/files/.bin:." 2024-10-23T02:39:09.009572+02:00 [INFO] attempting to start language server "vtsls", path: "/Users/htor/Library/Mobile Documents/com~apple~CloudDocs/Programming/authapi", id: 3 2024-10-23T02:39:09.009702+02:00 [INFO] attempting to start language server "eslint", path: "/Users/htor/Library/Mobile Documents/com~apple~CloudDocs/Programming/authapi", id: 4 2024-10-23T02:39:09.011083+02:00 [INFO] fetching latest version of language server "vtsls" 2024-10-23T02:39:09.011187+02:00 [INFO] fetching latest version of language server "eslint" 2024-10-23T02:39:09.011279+02:00 [INFO] downloading language server "eslint" 2024-10-23T02:39:09.145209+02:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc 2024-10-23T02:39:09.249092+02:00 [INFO] downloading language server "package-version-server" 2024-10-23T02:39:09.249306+02:00 [INFO] using project environment for language server LanguageServerName("package-version-server") 2024-10-23T02:39:09.249437+02:00 [INFO] starting language server process. binary path: "/Users/htor/Library/Application Support/Zed/languages/package-version-server/package-version-server-v0.0.4", working directory: "/Users/htor/Library/Mobile Documents/com~apple~CloudDocs/Programming/authapi", args: [] 2024-10-23T02:39:09.503643+02:00 [INFO] downloading language server "json-language-server" 2024-10-23T02:39:09.515768+02:00 [INFO] using project environment for language server LanguageServerName("eslint") 2024-10-23T02:39:09.516242+02:00 [INFO] starting language server process. binary path: "/opt/homebrew/bin/node", working directory: "/Users/htor/Library/Mobile Documents/com~apple~CloudDocs/Programming/authapi", args: ["--max-old-space-size=8192", "/Users/htor/Library/Application Support/Zed/languages/eslint/vscode-eslint-2.4.4/vscode-eslint/server/out/eslintServer.js", "--stdio"] 2024-10-23T02:39:09.596882+02:00 [WARN] unhandled capability registration: Registration { id: "f604a1b4-7fd6-42b1-81cc-66e22d990e26", method: "workspace/didChangeConfiguration", register_options: Some(Object {}) } 2024-10-23T02:39:09.597101+02:00 [WARN] unhandled capability registration: Registration { id: "96ce6b56-c19a-43b0-b956-1e264d5c1c81", method: "workspace/didChangeWorkspaceFolders", register_options: Some(Object {}) } 2024-10-23T02:39:09.630839+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:39:09.632214+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:39:09.720479+02:00 [INFO] add connection to peer 2024-10-23T02:39:09.720581+02:00 [INFO] add_connection; 2024-10-23T02:39:09.720661+02:00 [INFO] waiting for server hello 2024-10-23T02:39:09.735897+02:00 [INFO] got server hello 2024-10-23T02:39:09.735997+02:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 597, id: 61281 }) 2024-10-23T02:39:09.736136+02:00 [INFO] set status on client 141094: Connected { peer_id: PeerId { owner_id: 597, id: 61281 }, connection_id: ConnectionId { owner_id: 0, id: 0 } } 2024-10-23T02:39:09.834072+02:00 [INFO] using project environment for language server LanguageServerName("json-language-server") 2024-10-23T02:39:09.834532+02:00 [INFO] starting language server process. binary path: "/opt/homebrew/bin/node", working directory: "/Users/htor/Library/Mobile Documents/com~apple~CloudDocs/Programming/authapi", args: ["/Users/htor/Library/Application Support/Zed/languages/json-language-server/node_modules/vscode-langservers-extracted/bin/vscode-json-language-server", "--stdio"] 2024-10-23T02:39:10.005748+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:39:10.005893+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:39:10.116728+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:39:10.117173+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:39:10.361893+02:00 [ERROR] failed to fetch cached embeddings via cloud model Caused by: RPC request GetCachedEmbeddings failed: permission denied 2024-10-23T02:39:10.823628+02:00 [INFO] downloading language server "vtsls" 2024-10-23T02:39:11.371572+02:00 [INFO] using project environment for language server LanguageServerName("vtsls") 2024-10-23T02:39:11.371736+02:00 [INFO] starting language server process. binary path: "/opt/homebrew/bin/node", working directory: "/Users/htor/Library/Mobile Documents/com~apple~CloudDocs/Programming/authapi", args: ["/Users/htor/Library/Application Support/Zed/languages/vtsls/node_modules/@vtsls/language-server/bin/vtsls.js", "--stdio"] 2024-10-23T02:39:11.834945+02:00 [ERROR] failed to fetch cached embeddings via cloud model Caused by: RPC request GetCachedEmbeddings failed: permission denied 2024-10-23T02:39:11.982455+02:00 [ERROR] failed to fetch cached embeddings via cloud model Caused by: RPC request GetCachedEmbeddings failed: permission denied 2024-10-23T02:39:12.132649+02:00 [ERROR] failed to fetch cached embeddings via cloud model Caused by: RPC request GetCachedEmbeddings failed: permission denied 2024-10-23T02:39:12.255571+02:00 [ERROR] failed to fetch cached embeddings via cloud model Caused by: RPC request GetCachedEmbeddings failed: permission denied 2024-10-23T02:39:15.448973+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:39:15.459942+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:39:57.091163+02:00 [ERROR] oneshot canceled 2024-10-23T02:39:57.091481+02:00 [ERROR] oneshot canceled 2024-10-23T02:39:57.091723+02:00 [ERROR] oneshot canceled 2024-10-23T02:39:57.091957+02:00 [ERROR] oneshot canceled 2024-10-23T02:43:31.608904+02:00 [INFO] ========== starting zed ========== 2024-10-23T02:43:31.611434+02:00 [INFO] Opening main db 2024-10-23T02:43:31.61336+02:00 [INFO] Opening main db 2024-10-23T02:43:31.646168+02:00 [INFO] Using git binary path: Some("/Applications/Zed Preview.app/Contents/MacOS/git") 2024-10-23T02:43:31.683342+02:00 [INFO] set environment variables from shell:/opt/homebrew/bin/bash, path:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/htor/.cabal/bin:/Users/htor/.ghcup/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/htor/icloud/Programming/files/.bin:.:/Users/htor/icloud/Programming/files/.bin:. 2024-10-23T02:43:31.864838+02:00 [INFO] no tokio runtime found, creating one for Reqwest... 2024-10-23T02:43:31.885085+02:00 [INFO] initializing context server client 2024-10-23T02:43:31.885218+02:00 [INFO] Registering built-in prompt template: content_prompt 2024-10-23T02:43:31.885566+02:00 [INFO] Registering built-in prompt template: edit_workflow 2024-10-23T02:43:31.885758+02:00 [INFO] Registering built-in prompt template: project_slash_command 2024-10-23T02:43:31.885841+02:00 [INFO] Registering built-in prompt template: step_resolution 2024-10-23T02:43:31.886163+02:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt 2024-10-23T02:43:31.88634+02:00 [INFO] Prompt template overrides directory found at /Users/htor/.config/zed/prompt_overrides. 2024-10-23T02:43:31.886553+02:00 [INFO] extensions updated. loading 7, reloading 0, unloading 0 2024-10-23T02:43:31.915356+02:00 [INFO] Opening main db 2024-10-23T02:43:31.92589+02:00 [WARN] Theme "macOS Classic Light" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead. 2024-10-23T02:43:31.925996+02:00 [WARN] Theme "macOS Classic Dark" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead. 2024-10-23T02:43:31.926073+02:00 [WARN] Theme "macOS Classic Dark2" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead. 2024-10-23T02:43:31.966056+02:00 [INFO] set status on client 0: Authenticating 2024-10-23T02:43:31.980876+02:00 [INFO] Opening main db 2024-10-23T02:43:31.999231+02:00 [INFO] set status on client 141094: Connecting 2024-10-23T02:43:32.025798+02:00 [INFO] Opening main db 2024-10-23T02:43:32.107316+02:00 [INFO] attempting to start language server "json-language-server", path: "/Users/htor/Library/Mobile Documents/com~apple~CloudDocs/Programming/authapi", id: 1 2024-10-23T02:43:32.107581+02:00 [INFO] attempting to start language server "package-version-server", path: "/Users/htor/Library/Mobile Documents/com~apple~CloudDocs/Programming/authapi", id: 2 2024-10-23T02:43:32.108133+02:00 [INFO] fetching latest version of language server "json-language-server" 2024-10-23T02:43:32.109304+02:00 [INFO] fetching latest version of language server "package-version-server" 2024-10-23T02:43:32.160767+02:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc 2024-10-23T02:43:32.176599+02:00 [INFO] using project environment variables shell launched in "/Users/htor/Library/Mobile Documents/com~apple~CloudDocs/Programming/authapi". PATH="/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/htor/.cabal/bin:/Users/htor/.ghcup/bin:/Users/htor/icloud/Programming/files/.bin:.:/Users/htor/icloud/Programming/files/.bin:." 2024-10-23T02:43:32.203008+02:00 [INFO] attempting to start language server "vtsls", path: "/Users/htor/Library/Mobile Documents/com~apple~CloudDocs/Programming/authapi", id: 3 2024-10-23T02:43:32.203139+02:00 [INFO] attempting to start language server "eslint", path: "/Users/htor/Library/Mobile Documents/com~apple~CloudDocs/Programming/authapi", id: 4 2024-10-23T02:43:32.204164+02:00 [INFO] fetching latest version of language server "vtsls" 2024-10-23T02:43:32.20427+02:00 [INFO] fetching latest version of language server "eslint" 2024-10-23T02:43:32.204355+02:00 [INFO] downloading language server "eslint" 2024-10-23T02:43:32.438752+02:00 [INFO] downloading language server "package-version-server" 2024-10-23T02:43:32.438922+02:00 [INFO] using project environment for language server LanguageServerName("package-version-server") 2024-10-23T02:43:32.439057+02:00 [INFO] starting language server process. binary path: "/Users/htor/Library/Application Support/Zed/languages/package-version-server/package-version-server-v0.0.4", working directory: "/Users/htor/Library/Mobile Documents/com~apple~CloudDocs/Programming/authapi", args: [] 2024-10-23T02:43:32.61649+02:00 [INFO] downloading language server "json-language-server" 2024-10-23T02:43:32.650982+02:00 [INFO] using project environment for language server LanguageServerName("eslint") 2024-10-23T02:43:32.651468+02:00 [INFO] starting language server process. binary path: "/opt/homebrew/bin/node", working directory: "/Users/htor/Library/Mobile Documents/com~apple~CloudDocs/Programming/authapi", args: ["--max-old-space-size=8192", "/Users/htor/Library/Application Support/Zed/languages/eslint/vscode-eslint-2.4.4/vscode-eslint/server/out/eslintServer.js", "--stdio"] 2024-10-23T02:43:32.717888+02:00 [WARN] unhandled capability registration: Registration { id: "4c96ea76-e462-4492-af0d-31e112465f89", method: "workspace/didChangeConfiguration", register_options: Some(Object {}) } 2024-10-23T02:43:32.718071+02:00 [WARN] unhandled capability registration: Registration { id: "3e29c256-12b6-49d9-8f40-a694f3d636ed", method: "workspace/didChangeWorkspaceFolders", register_options: Some(Object {}) } 2024-10-23T02:43:32.751119+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:43:32.751255+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:43:32.817369+02:00 [INFO] add connection to peer 2024-10-23T02:43:32.817461+02:00 [INFO] add_connection; 2024-10-23T02:43:32.817536+02:00 [INFO] waiting for server hello 2024-10-23T02:43:32.835446+02:00 [INFO] got server hello 2024-10-23T02:43:32.835544+02:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 597, id: 63638 }) 2024-10-23T02:43:32.835679+02:00 [INFO] set status on client 141094: Connected { peer_id: PeerId { owner_id: 597, id: 63638 }, connection_id: ConnectionId { owner_id: 0, id: 0 } } 2024-10-23T02:43:32.967425+02:00 [INFO] using project environment for language server LanguageServerName("json-language-server") 2024-10-23T02:43:32.967886+02:00 [INFO] starting language server process. binary path: "/opt/homebrew/bin/node", working directory: "/Users/htor/Library/Mobile Documents/com~apple~CloudDocs/Programming/authapi", args: ["/Users/htor/Library/Application Support/Zed/languages/json-language-server/node_modules/vscode-langservers-extracted/bin/vscode-json-language-server", "--stdio"] 2024-10-23T02:43:33.14445+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:43:33.145723+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:43:33.275197+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:43:33.279853+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:43:33.474304+02:00 [ERROR] failed to fetch cached embeddings via cloud model Caused by: RPC request GetCachedEmbeddings failed: permission denied 2024-10-23T02:43:34.038639+02:00 [INFO] downloading language server "vtsls" 2024-10-23T02:43:34.485998+02:00 [INFO] using project environment for language server LanguageServerName("vtsls") 2024-10-23T02:43:34.486166+02:00 [INFO] starting language server process. binary path: "/opt/homebrew/bin/node", working directory: "/Users/htor/Library/Mobile Documents/com~apple~CloudDocs/Programming/authapi", args: ["/Users/htor/Library/Application Support/Zed/languages/vtsls/node_modules/@vtsls/language-server/bin/vtsls.js", "--stdio"] 2024-10-23T02:43:35.029756+02:00 [ERROR] failed to fetch cached embeddings via cloud model Caused by: RPC request GetCachedEmbeddings failed: permission denied 2024-10-23T02:43:35.207874+02:00 [ERROR] failed to fetch cached embeddings via cloud model Caused by: RPC request GetCachedEmbeddings failed: permission denied 2024-10-23T02:43:35.397748+02:00 [ERROR] failed to fetch cached embeddings via cloud model Caused by: RPC request GetCachedEmbeddings failed: permission denied 2024-10-23T02:43:35.564205+02:00 [ERROR] failed to fetch cached embeddings via cloud model Caused by: RPC request GetCachedEmbeddings failed: permission denied 2024-10-23T02:43:50.433148+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/node_modules/@types/node/stream.d.ts" } } 2024-10-23T02:43:50.440483+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/node_modules/@types/node/stream.d.ts" } } 2024-10-23T02:43:50.44066+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/api.ts" } } 2024-10-23T02:43:50.440776+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/client.mts" } } 2024-10-23T02:43:56.134747+02:00 [INFO] Language server with id 4 sent unhandled notification eslint/noLibrary: { "source": { "uri": "file:///Users/htor/Library/Mobile%20Documents/com~apple~CloudDocs/Programming/authapi/node_modules/@types/node/http.d.ts" } } 2024-10-23T02:45:49.768175+02:00 [ERROR] oneshot canceled 2024-10-23T02:45:49.768479+02:00 [ERROR] oneshot canceled 2024-10-23T02:45:49.768705+02:00 [ERROR] oneshot canceled 2024-10-23T02:45:49.76893+02:00 [ERROR] oneshot canceled 2024-10-23T02:45:55.934361+02:00 [INFO] ========== starting zed ========== 2024-10-23T02:45:55.937078+02:00 [INFO] Opening main db 2024-10-23T02:45:55.939139+02:00 [INFO] Opening main db 2024-10-23T02:45:55.972371+02:00 [INFO] Using git binary path: Some("/Applications/Zed Preview.app/Contents/MacOS/git") 2024-10-23T02:45:56.023321+02:00 [INFO] set environment variables from shell:/opt/homebrew/bin/bash, path:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/htor/.cabal/bin:/Users/htor/.ghcup/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/htor/icloud/Programming/files/.bin:.:/Users/htor/icloud/Programming/files/.bin:. 2024-10-23T02:45:56.188896+02:00 [INFO] no tokio runtime found, creating one for Reqwest... 2024-10-23T02:45:56.209022+02:00 [INFO] initializing context server client 2024-10-23T02:45:56.209156+02:00 [INFO] Registering built-in prompt template: content_prompt 2024-10-23T02:45:56.209498+02:00 [INFO] Registering built-in prompt template: edit_workflow 2024-10-23T02:45:56.209689+02:00 [INFO] Registering built-in prompt template: project_slash_command 2024-10-23T02:45:56.209772+02:00 [INFO] Registering built-in prompt template: step_resolution 2024-10-23T02:45:56.210092+02:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt 2024-10-23T02:45:56.210268+02:00 [INFO] Prompt template overrides directory found at /Users/htor/.config/zed/prompt_overrides. 2024-10-23T02:45:56.211271+02:00 [INFO] extensions updated. loading 7, reloading 0, unloading 0 2024-10-23T02:45:56.245053+02:00 [WARN] Theme "macOS Classic Light" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead. 2024-10-23T02:45:56.245169+02:00 [WARN] Theme "macOS Classic Dark" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead. 2024-10-23T02:45:56.245252+02:00 [WARN] Theme "macOS Classic Dark2" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead. 2024-10-23T02:45:56.246868+02:00 [INFO] Opening main db 2024-10-23T02:45:56.297778+02:00 [INFO] Opening main db 2024-10-23T02:45:56.314824+02:00 [INFO] set status on client 0: Authenticating 2024-10-23T02:45:56.317789+02:00 [INFO] set status on client 141094: Connecting 2024-10-23T02:45:56.320218+02:00 [INFO] using project environment variables from CLI. PATH="/Users/htor/.cabal/bin:/Users/htor/.ghcup/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/Users/htor/icloud/Programming/files/.bin:." 2024-10-23T02:45:56.492042+02:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc 2024-10-23T02:45:57.154904+02:00 [INFO] add connection to peer 2024-10-23T02:45:57.155214+02:00 [INFO] add_connection; 2024-10-23T02:45:57.155443+02:00 [INFO] waiting for server hello 2024-10-23T02:45:57.155693+02:00 [INFO] got server hello 2024-10-23T02:45:57.155912+02:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 597, id: 65029 }) 2024-10-23T02:45:57.156301+02:00 [INFO] set status on client 141094: Connected { peer_id: PeerId { owner_id: 597, id: 65029 }, connection_id: ConnectionId { owner_id: 0, id: 0 } } 2024-10-23T02:45:59.505377+02:00 [ERROR] failed to fetch cached embeddings via cloud model Caused by: RPC request GetCachedEmbeddings failed: permission denied

smedegaard commented 1 month ago

Same problem here. Pasted an Anthropic API key into Zed. I have the Professional plan and didn't realize that calling the API is billed separately. The error message in the editor could have been more clear about that.

$ cat ~/Library/Logs/Zed/Zed.log
...
2024-10-24T22:22:22.423033+02:00 [ERROR] failed to stream completion

Caused by:
    an error occurred while interacting with the Anthropic API: invalid_request_error: Your credit balance is too low to access the Anthropic API. Please go to Plans & Billing to upgrade or purchase credits.
Screenshot 2024-10-24 at 22 14 56
Emjaybee-iam commented 1 month ago

You need to log in with your Account in the right corner of the Editor window. Then go to Configure and check the Terms of Service. Open new context.

jacobwhall commented 2 weeks ago

This solved this issue for me.