briansunter / logseq-plugin-gpt3-openai

A plugin for GPT-3 AI assisted note taking in Logseq
https://twitter.com/bsunter
MIT License
700 stars 65 forks source link

OpenAI API Completion Endpoint Custom URL request failed #119

Closed fishpigbird closed 11 months ago

fishpigbird commented 11 months ago

OpenAI API Completion Endpoint http://ip:3000/v1/chat/completions/chat/completions

Sending curl, or sending with postman is possible to get the return. But the gpt plugin request in logseq returns this result -f12

<!doctype html>
<html lang=en>
<title>404 Not Found</title>
<h1>Not Found</h1>
<p>The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.</p>

The following plugin https://github.com/debanjandhar12/logseq-chatgpt-plugin work fine,So I think there should be some problem with this plugin, please leave your email, I can give you the url and key to adjust the style.

edit: Different requests for the two plugins:: clipboard_20230709_224915

fishpigbird commented 11 months ago

okay,i find the problems, image

fishpigbird commented 11 months ago

Finally thank you for the plugin, it helped me a lot.