flynnoct / chatgpt-telegram-bot

Telegram bot implemented by OFFICIAL OpenAI ChatGPT API (gpt-3.5-turbo, released on 2023-03-01)
MIT License
181 stars 43 forks source link

[suggestion]change the key value of ChatGPT through command line #34

Closed peteisacat closed 1 year ago

peteisacat commented 1 year ago

It would be great if we could change the key value of ChatGPT through command line, such as typing (or selecting) [change key value] in the terminal, and then inputting the new key to update the key value in the configuration file, which would be more convenient than editing the config file manually.😄

RayCxggg commented 1 year ago

A great advice. We will try to provide a simple script for updating the config.json file.

peteisacat commented 1 year ago

A great advice. We will try to provide a simple script for updating the config.json file.

many thanks 😄

RayCxggg commented 1 year ago

A script is added to update the config file through command line.