terminalGPT
terminalGPT copied to clipboard
Error
I installed terminalGPT and started using it but when iIask a question I get this output:
why am i getting this error "******************** Welcome to terminalGPT ************************
** ,----------------, ,---------, ** ** ,-----------------------, ," ,"| ** ** ," ,"| ," ," | ** ** +-----------------------+ | ," ," | ** ** | .-----------------. | | +---------+ | ** ** | | | | | | -==----'| | ** ** | | W a r p y . | | | | | | ** ** | | Bad command or | | |/----|'---= | | ** ** | | tgpt:>_ | | | ,/|==== ooo | ; ** ** | | | | | // |(((( [33]| ," ** ** | '-----------------' |,' .;'| |(((( | ," ** ** +-----------------------+ ;; | | |," ** ** /)______________(/ //' | +---------+ ** ** ________/ , ** ** / oooooooooooooooo .o. oooo /, ,'----------- ,' ** ** / ==ooooooooooooooo==.o. ooo= // ,'-{)B ,' ** ** /==============ooo__ooo=/' /,' ** ** '-----------------------------' **
Created by @jucasoliveira: https://github.com/jucasoliveira
TerminalGPT will be maintained by Warpi as Jan 2024. You can check other OS initiavies at:
https://github.com/warpy-ai
usage: TerminalGPT will ask you to add your OpenAI API key. Don't worry, it will be saved(encrypted) on your machine locally.
Terminal will prompt you to enter a message. Type your message and press enter. Terminal will then prompt you to enter a response. Type your response and press enter.
To exit, type "exit" and press enter.
Commands
exit - Exit the program delete - Delete the saved API key chat - Start a chat --markdown - Show the response in markdown CopyCopyCopyCopyCopyCopyCopyCopyCopyCopyCopyCopyCopyCopyCopyCopyCopyCopyCopyCopyCopyCopyCopyCopyCopy (node:2952) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead. (Use node --trace-deprecation ... to show where the warning was created) ✔ You: … show me a bat file to generate a text file ■■▶ Thinking...NotFoundError: 404 The model gpt-4-1106-preview does not exist or you do not have access to it. Learn more: https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4. at APIError.generate (/home/shiva/terminalGPT/node_modules/openai/error.js:52:20) at OpenAI.makeStatusError (/home//terminalGPT/node_modules/openai/core.js:251:33) at OpenAI.makeRequest (/home/terminalGPT/node_modules/openai/core.js:290:30) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async exports.default (/home/terminalGPT/lib/gpt.js:19:21) at async generateResponse (/home/terminalGPT/lib/utils.js:98:25) { status: 404, headers: { 'alt-svc': 'h3=":443"; ma=86400', 'cf-cache-status': 'DYNAMIC', 'cf-ray': '844572146dc34895-LIS', connection: 'keep-alive', 'content-encoding': 'gzip', 'content-type': 'application/json; charset=utf-8', date: 'Fri, 12 Jan 2024 12:36:32 GMT', server: 'cloudflare', 'set-cookie': '__cf_bm=fY.Id04XDroOHbHI4CcjV2CaiPKSoXc50k7fZyUFz88-1705062992-1-AdP8Zg4MyMbQ/lRmLel7dRVnm6IQNz8VeIFfgTvfwgcAZ/VHGvqDalReSUCGf520AlWqMvcxNZfXO6Pp4RN5SqU=; path=/; expires=Fri, 12-Jan-24 13:06:32 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None, _cfuvid=fF3FGV.FopNWrS2t5m9.0PzNfQb34qDPtBacvUX6HYE-1705062992210-0-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None', 'strict-transport-security': 'max-age=15724800; includeSubDomains', 'transfer-encoding': 'chunked', vary: 'Origin', 'x-request-id': '5fe2c22a00ea400dac634b8e2ac22ba0' }, error: { message: 'The model gpt-4-1106-preview does not exist or you do not have access to it. Learn more: https://help.openai.com/en/articles/7102672-how-can-i-access-gpt-4.', type: 'invalid_request_error', param: null, code: 'model_not_found' }, code: 'model_not_found', param: null, type: 'invalid_request_error' }"
Am I missing something? Do i have to install additional stuff or do I have to get anything from OpenAI?
Thanks