zed
zed copied to clipboard
AssistantPanel does not work , even when logged in to GitHub, nothing happens
The Conversation mode is not working right now. Nothing happens when I submit text.
This behavior is the same with choosing 3.5, 4 or 4 turbo. The UX is confusing as the behavior is the same wether or not I am logged in.
Another piece of feedback, the fact that I can choose the model suggests that this would be going straight to OpenAI, not Copilot, which I was excited for because I can ask broader questions to OpenAI than I can Copilot as the latter is limited to just code. I assume the feature is WIP, but wanted to pass on feedback for now.
The Zed Assistant and Copilot are two separate features.
Using the assistant requires an OpenAI to be entered.
From your screenshot it looks like you might not have a valid OpenAI key (although we do need to improve this state so that it is clearer).
Paid OpenAI API key is required for Assistant feature to work properly.
- add credits to OpenAI
- generate new API key
- use
assistant: reset key
command - enter the new key
- possibly restart zed editor
Thanks, I haven't yet seen a UI to enter the key.
When I press cmd + shift + p, and type "assistant" I only see these three options:
OR
"reset key"
I installed with brew fwiw.
Zed 0.119.19
020eadc7a43f28d3f91c9e19fbe2e24382a22c3e
The Zed Assistant and Copilot are two separate features.
Thanks for clarifying, I was thinking of the Assistant like the Copilot Chat in VSCode. I am happy to hear that Assistant can use ChatGPT APIs directly and not be limited to coding only like Copilot. I like Copilot in the code editor and native ChatGPT in the Assistant. Looking forward to trying it out once I figure out how to enter the OpenAI API keys (I have a paid account, plus credits).
I see now the docs suggest that when I first open the Assistant that it will prompt for a key > https://docs.zed.dev/general/assistant-panel#setup. That never happened as far as user flow goes.
In addition, another odd thing is that I can click on "You" and change it to "Assistant" or "System", not sure if that is intended, but thought I would mention it.
I have the exact same issue, can't find anywhere to input my API key
@ElijahLynn @mikkelsvartveit Refer this https://github.com/zed-industries/zed/issues/6685#issuecomment-1913032296 I got it working by following these steps.
@ElijahLynn @mikkelsvartveit Refer this https://github.com/zed-industries/zed/issues/6685#issuecomment-1913032296 I got it working by following these steps.
Thanks, i just don't see that option, reset key.
@ElijahLynn open chat assistant panel and then search you will get reset key option.
@ElijahLynn @mikkelsvartveit Refer this #6685 (comment) I got it working by following these steps.
Thanks, i just don't see that option, reset key.
Yes, make sure you are focused on the assistant panel when you open the command palette.
Even after inputting the api key and restarting Zed the conversation panel doesn't work. Inline assistant is working but not on chat.
Not sure how to proceed
@omegabyte In chat did you press cmd + enter after typing?
@omegabyte did you make sure to add credits to your OpenAI account? I updated the docs here to make that clearer: https://zed.dev/docs/assistant-panel
a subscription to openai.com doesn't work ? you need to add extra credits ?
I have a GithubCopilot subscription and also an OpenAI (ChatGPT Plus) subscription ? Is there something else needed ?
a subscription to openai.com doesn't work ? you need to add extra credits ?
Depends. ChatGPT is OpenAI's tool on top of their APIs, essentially. If you want to use the API itself (which is what Zed does) then you need extra credit to use the API.
eJust got the update to try this again and I see the UI improvement to communicate this now:
Feedback:
- Make this a clickable link (https://platform.openai.com/api-keys)
- After I entered the key, it worked but took me to a blank screen, I finally figured out to click the + (plus) sign to start a chat, some feedback here would be good
- Add a link to the "credits" here https://platform.openai.com/account/billing/overview (took me a bit to find it again in the OpenAI UI, Settings > Billing)
edit: And it works!!!
So, we can "technically" close my issue now, me thinks.
Mine is not working as well I added the open ai key, but to no avail
Did you add credits to your OpenAI account?
This feels like a troubleshooting discussion as the initial bug has been fixed. I'm going to close this issue, but please let me know if I should reopen it or create an Assistant Panel enhancement ticket.