Giter Site home page Giter Site logo

lin2025 / gpt3.5 Goto Github PK

View Code? Open in Web Editor NEW
59.0 4.0 7.0 2.86 MB

LinGPT, a ChatGPT (GPT-3.5 / GPT-4) webpage with just a single HTML file. 只有一个html文件的ChatGPT聊天网页,零门槛,10秒搞定。GPT4 多Key轮询 Auto Key Rotation 支持第三方Key 兼容代理平台 Supports proxy / third-party keys

Home Page: https://lin2025.github.io/gpt3.5/

License: GNU General Public License v3.0

HTML 100.00%
chatgpt chatgpt-api chatgpt-web gpt-35-turbo openai-api html chatbot chatgpt-bot gpt-3 openai-api-chatbot

gpt3.5's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

gpt3.5's Issues

如何展示图片

我使用了“世界知名商标有哪些?请用图片举例” 提示我无法添加图片,大佬是如何做到的输出图片的

如何取消sk-前缀检测?

当我修改第2136行默认的自定义第三方 apiURL: "http://xxx.cn:3000/v1/chat/completions"
设置API key 为 123 验证成功 但发送消息会弹框报错:

notif_noKey_cn = '当前接口地址仅支持 OpenAI 官方Key,已为您自动更换 [Key模式] 为: ' + keyModeText + '\r\n\r\n但是当前没有可用的 OpenAI 官方Key,请求已被中止,请添加 OpenAI API Key。如果您要使用第三方专用Key,请更改 [接口网址] 为第三方接口。' ;

如果把 设置API key 为 sk-123 验证成功 发送消息不会报错

我现在想应该修改哪行代码才能让它不检测key前缀是否为sk-

尝试把第2154行的 isThirdPartyAPIKeyEnabled: false, 改成 true 无效

话说能不能在第2136行的apiURL下载增加一行默认:apikey: "xxx" 当设置了此值优先使用此key
这样我就能直接在后台设置默认官方或第三方apiURL和apikey 共享给用户直接使用,而无需用户手动设置,当然如果我未设置默认apikey或无效才会提示用户手动设置 实现:新用户一打开网页就能直接发送消息使用

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.