openai key rotate
Browse files
openai_pandasai_service.py
CHANGED
@@ -90,6 +90,10 @@ def openai_chat(csv_url: str, question: str):
|
|
90 |
|
91 |
return {"error": "All API keys exhausted. Please update billing information."}
|
92 |
|
|
|
|
|
|
|
|
|
93 |
def openai_chart(csv_url: str, question: str):
|
94 |
global current_llm_index
|
95 |
|
|
|
90 |
|
91 |
return {"error": "All API keys exhausted. Please update billing information."}
|
92 |
|
93 |
+
|
94 |
+
|
95 |
+
|
96 |
+
|
97 |
def openai_chart(csv_url: str, question: str):
|
98 |
global current_llm_index
|
99 |
|