Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

un probleme l'IA me réponds pas #15

Open
Mrtotole opened this issue Oct 20, 2023 · 4 comments
Open

un probleme l'IA me réponds pas #15

Mrtotole opened this issue Oct 20, 2023 · 4 comments

Comments

@Mrtotole
Copy link

bonjour a tous, je viens vers vous car j'essaye de utiliser l'ia

au début elle me répond et après pour la réponse final elle dit plus rien et j'ai cette erreur

Sending message to OpenAI API
Error while sending message to OpenAI API
Retrying...
Error while sending message to OpenAI API
Retrying...
Error while sending message to OpenAI API
Retrying...
D:\dossier stream\Twitch-Streamer-GPT-main\modules\openaiLib.js:185
throw new Error("Error while sending message to OpenAI API");
^

Error: Error while sending message to OpenAI API
at Object.answerToMessage (D:\dossier stream\Twitch-Streamer-GPT-main\modules\openaiLib.js:185:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v18.18.2

D:\dossier stream\Twitch-Streamer-GPT-main>

Si vous pouvez m'éclairer sur se problème je vous en remercie d'avance

@Mrtotole Mrtotole changed the title un probleme l'IA je réponds pas un probleme l'IA me réponds pas Oct 20, 2023
@NuclearLive
Copy link

Salut, j'ai exactement le même soucis... Tu as trouvé une solution ???

En te remerciant :)

@Clad3815
Copy link
Owner

Salut, j'ai exactement le même soucis... Tu as trouvé une solution ???

En te remerciant :)

Active le mode DEBUG dans le .env et montre moi l'erreur

@Mrtotole
Copy link
Author

salut moi c'est w11 qui fessai des erreur j'ai moi a jour L'IA et remis w10 sa fonctionne pour moi

@NuclearLive
Copy link

Salut, j'ai exactement le même soucis... Tu as trouvé une solution ???
En te remerciant :)

Active le mode DEBUG dans le .env et montre moi l'erreur

Salut, Alors à priori ça ne vient pas de ton code ;) Mais du quota dépassé (alors que sur OpenAI aucune requête n'a été faite, c'est ça que je ne comprends pas...)

Error while sending message to OpenAI API
Retrying...
RateLimitError: 429 You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.
at APIError.generate (D:\PROGRAMMES\TWITCH AI\Twitch-Streamer-GPT-main\node_modules\openai\error.js:62:20)
at OpenAI.makeStatusError (D:\PROGRAMMES\TWITCH AI\Twitch-Streamer-GPT-main\node_modules\openai\core.js:251:33)
at OpenAI.makeRequest (D:\PROGRAMMES\TWITCH AI\Twitch-Streamer-GPT-main\node_modules\openai\core.js:290:30)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Object.answerToMessage (D:\PROGRAMMES\TWITCH AI\Twitch-Streamer-GPT-main\modules\openaiLib.js:165:22) {
status: 429,
headers: {
'alt-svc': 'h3=":443"; ma=86400',
'cf-cache-status': 'DYNAMIC',
'cf-ray': '83c3c188e8fc5fdc-MRS',
connection: 'keep-alive',
'content-length': '337',
'content-type': 'application/json; charset=utf-8',
date: 'Wed, 27 Dec 2023 18:51:37 GMT',
server: 'cloudflare',
'set-cookie': '__cf_bm=Nrzkd5LMBPoA8Ds1vgZpUKQqdFNU77zdhSEvyB5k1Io-1703703097-1-ARXQjymifGlC4yI9F2lQYZWT56y8nZEgxf8jfFAh3mJEWi5dMKZXlB9JZKPBB9cqR+wJMXAm89JxkyfoMxw5IMc=; path=/; expires=Wed, 27-Dec-23 19:21:37 GMT; domain=.api.openai.com; HttpOnly; Secure; SameSite=None, _cfuvid=14k2K5FOmnoiex5qeA6flzjdAQEupotFvlMr20Tsw0k-1703703097916-0-604800000; path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None',
'strict-transport-security': 'max-age=15724800; includeSubDomains',
vary: 'Origin',
'x-request-id': '75a9ffe86c90da8d504356c0d971f0af'
},
error: {
message: 'You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.',
type: 'insufficient_quota',
param: null,
code: 'insufficient_quota'
},
code: 'insufficient_quota',
param: null,
type: 'insufficient_quota'
}
Max Tokens for Model: 14475
Final Total Tokens: 1042
Model used: gpt-3.5-turbo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants