randydev commited on
Commit
84f45cc
·
verified ·
1 Parent(s): 7de95f6

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -896,7 +896,7 @@ async def chatgpt_customs(
896
  try:
897
  GPTbase = "https://gpt-api.mycloud.im/v1"
898
  x = OpenAI(api_key=api_key, api_base=GPTbase)
899
- response = await x.api_chat(query=item.query, model=item.model)
900
  return SuccessResponse(
901
  status="True",
902
  randydev={"message": answer}
 
896
  try:
897
  GPTbase = "https://gpt-api.mycloud.im/v1"
898
  x = OpenAI(api_key=api_key, api_base=GPTbase)
899
+ answer = await x.api_chat(query=item.query, model=item.model)
900
  return SuccessResponse(
901
  status="True",
902
  randydev={"message": answer}