robusta-dev / kubernetes-chatgpt-bot

A ChatGPT bot for Kubernetes issues.
925 stars 101 forks source link

ChatGPT response is not coming to Slack #21

Closed rahulpanwar closed 1 year ago

rahulpanwar commented 1 year ago

All of the alerts are coming to slack and Integration also looks good. Ask ChatGPT button is visible in Slack UI image But ChatGPT response is not coming.

Cluster is behind the Proxy, it may be reason. Any suggestion or ways to debug?

arikalon1 commented 1 year ago

Hi @rahulpanwar

Can you please share the logs of the robusta-runner pod running in your cluster?

rahulpanwar commented 1 year ago

Hi @rahulpanwar

Can you please share the logs of the robusta-runner pod running in your cluster?

image

It is running!

rahulpanwar commented 1 year ago

Lol, sorry for my ignorance, I checked the logs, My quota is exausted.

2023-07-07 14:17:37.148 INFO error_code=None error_message='You exceeded your current quota, please check your plan and billing details.' error_param=None error_type=insufficient_quota message='OpenAI API error received' stream_error=False

rahulpanwar commented 1 year ago

It is working fine after changing API key. Thank you for your quick hint @arikalon1

aantn commented 1 year ago

Feel free to open a PR showing a warning reply when quota is exhausted!