GithubHelp home page GithubHelp logo

Comments (9)

0x676e67 avatar 0x676e67 commented on August 23, 2024

啥软件啊,我试过好多客户端都没啥问题啊,看看报错信息就知道了,估计是缺少Bearer前缀

from ninja.

Joackk avatar Joackk commented on August 23, 2024

啥软件啊,我试过好多客户端都没啥问题啊,看看报错信息就知道了,估计是缺少Bearer前缀

虚拟桌宠 VPet 这个,其他软件还没试,但是python中是正常的,大佬你那边可以吗?

from ninja.

0x676e67 avatar 0x676e67 commented on August 23, 2024

看不懂这玩意,怎么用呢

from ninja.

Joackk avatar Joackk commented on August 23, 2024

image
就是个这玩应,电子宠物一类的,设置面板这里有个gpt设置
image
这里可以设置接口和key
image

from ninja.

0x676e67 avatar 0x676e67 commented on August 23, 2024

你这后缀好像有问题,chatgpt转API是:/to/v1/chat/completions

from ninja.

Joackk avatar Joackk commented on August 23, 2024

你这后缀好像有问题,chatgpt转API是:/to/v1/chat/completions

图里面我用的是naga的api,不是转的,我是了另一个go-chatgpt-api项目里试了下,在docker环境中设置了token,在外部调用时候就不需要再输入apikey,可以正常使用,大佬这个项目里可以把token设置在docker里吗?因为我是基本都在其他软体里调用,每次都输入token比较麻烦,所以直接卸载docker里调用时候只需要接口即可

from ninja.

0x676e67 avatar 0x676e67 commented on August 23, 2024

你想通过什么设置,环境变量?

from ninja.

Joackk avatar Joackk commented on August 23, 2024

你想通过什么设置,环境变量?

对,可以直接在环境变量里写入账号密码来让他自动获取吗?调用的时候就不用输入key直接api来用

from ninja.

Joackk avatar Joackk commented on August 23, 2024

你想通过什么设置,环境变量?

因为我是自己用,所以想直接用账号密码来获取token,加上使用时候主要是给其他软件用api,所以可以直接在环境变量里设置账号密码来获取token吗?调用时候就不再需要token作为key了,直接接口访问就行了

from ninja.

Related Issues (20)

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.