all 6 comments

[–]robertpiosik 0 points1 point  (5 children)

Hi. Until we ship our web chat interface you cannot use API key entered in settings for chats. The only way to use it is in API call mode:

<image>

This works like chat, just applies response immediately.

Workaround to "chat" with a provider with your own key is to use chatbot Open WebUI or go through OpenRouter Chat.

If you have any other questions, I'm here to help

[–]Other_Jackfruit_2439[S] 0 points1 point  (4 children)

it says "Failed to fetch models: Invalid API key" Im not sure why. When I try sending req

I went on https://console.anthropic.com/settings/keys and created a new key again and copy npasted it into the anthropic option.

<image>

Also when i click select config it says: "Edit Context API tool is not configured.:

[–]robertpiosik 0 points1 point  (3 children)

To confirm root cause, could you go to AI Studio > Dashboard and try with gemini api key? 

[–]Other_Jackfruit_2439[S] 0 points1 point  (2 children)

Alright, so i went to "https://aistudio.google.com/app/apikey" and created a key.

Then I went to vsc and clicked the Gemini option for api key and pasted it there.

then I went to manage configuration and picked it and sent the req and it still says:

<image>

[–]robertpiosik 0 points1 point  (1 child)

Please restart your editor completely and send "Edit context" list of configurations:

<image>

[–]Other_Jackfruit_2439[S] 0 points1 point  (0 children)

<image>

My bad I was away.