Giter Club home page Giter Club logo

Comments (8)

dengchangdong avatar dengchangdong commented on June 18, 2024

curl -X PATCH
-H "Content-Type: application/json"
-H "Authorization: TotallySecurePassword"
-d "@/root/access_tokens.json"
http://127.0.0.1:10080/admin/tokens

from chatgpt-to-api.

LNpks avatar LNpks commented on June 18, 2024

请问是在access_tokens.json里面放多个tokens吗,具体格式是怎么样的,我尝试了几种格式但是尝试并发请求时只能请求第一个账号

from chatgpt-to-api.

dengchangdong avatar dengchangdong commented on June 18, 2024

[
"accessToken1",
"accessToken2",
.....
]

from chatgpt-to-api.

LNpks avatar LNpks commented on June 18, 2024

感谢

[ "accessToken1", "accessToken2", ..... ]

from chatgpt-to-api.

LNpks avatar LNpks commented on June 18, 2024

[ "accessToken1", "accessToken2", ..... ]

想再问一个问题,如果要自定义api key的话,看之前的issuse说要自定义api_keys.txt文件,但是如何自定义呢?

from chatgpt-to-api.

acheong08 avatar acheong08 commented on June 18, 2024

in api_keys.txt:

apikey1
apikey2
...

from chatgpt-to-api.

LNpks avatar LNpks commented on June 18, 2024

in api_keys.txt:

apikey1
apikey2
...

api_keys.txt需要放在哪里?是在根目录下自己打包镜像,还是修改docker-compose 映射进去(不知道目录是什么),感谢作者大大

from chatgpt-to-api.

Cp0204 avatar Cp0204 commented on June 18, 2024

in api_keys.txt:

apikey1
apikey2
...

api_keys.txt需要放在哪里?是在根目录下自己打包镜像,还是修改docker-compose 映射进去(不知道目录是什么),感谢作者大大

同问,解决了吗

from chatgpt-to-api.

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.