soulsands / trilium-chat

Chat plugin highly integrated with Trilium
https://soulsands.github.io/trilium-chat/
GNU Affero General Public License v3.0
84 stars 11 forks source link

API key error #6

Closed keys-i closed 1 year ago

keys-i commented 1 year ago

I followed the steps but the it shows api key error

soulsands commented 1 year ago

Hi, could you provide more information? Where does the error come from?

keys-i commented 1 year ago

So i did the whole process that you have mentioned at last it gives me the error of api key while testing it

soulsands commented 1 year ago

sorry,I can't reproduce the error.would you help provide the logs or screenshots?

keys-i commented 1 year ago

I just followed your gitpod and did the steps got a api key from ChatGPT put it in then pressed verify and test

soulsands commented 1 year ago

Sorry I can't reproduce the error and it works fine for other people. Could you post a screenshot that shows the error? @radhesh1

keys-i commented 1 year ago

image

soulsands commented 1 year ago

image

That shows an unsuccessful request to open AI. You can use Ctrl+Shift+I to open the dev console and click the Network tab, then check the request.

keys-i commented 1 year ago

i think this might be a chatgpt quota issue

TheBig-O commented 1 year ago

Is it possible to use other chatbots? With the API quota for ChatGPT, you quickly run out of tokens. Thanks for putting this together. I'm eager to give this a try.

perfectra1n commented 1 year ago

@TheBig-O you can use whatever models you want from OpenAI - the way the widget interacts with the API is specific to OpenAI's APIs, so you can just change to another model if you want.

TheBig-O commented 1 year ago

That's what I was thinking. Thanks for putting this together.

perfectra1n commented 1 year ago

@radhesh1 feel free to open if you're still having this issue.