justseemore commited on
Commit
e6533d3
1 Parent(s): 70bc22b

Update optimizeOpenAI.py

Browse files
Files changed (1) hide show
  1. optimizeOpenAI.py +1 -1
optimizeOpenAI.py CHANGED
@@ -167,7 +167,7 @@ class chatPaper:
167
 
168
  def check_api_available(self):
169
  response = self.session.post(
170
- "https://api.openai.com/v1/chat/completions",
171
  headers={"Authorization": f"Bearer {self.get_api_key()}"},
172
  json={
173
  "model": self.model_name,
 
167
 
168
  def check_api_available(self):
169
  response = self.session.post(
170
+ "https://api.396999.xyz/v1/chat/completions",
171
  headers={"Authorization": f"Bearer {self.get_api_key()}"},
172
  json={
173
  "model": self.model_name,