bingbing520 commited on
Commit
e14fce5
·
1 Parent(s): 460567c

Update modules/models.py

Browse files
Files changed (1) hide show
  1. modules/models.py +1 -1
modules/models.py CHANGED
@@ -89,7 +89,7 @@ class OpenAIClient(BaseLLMModel):
89
  logging.error(f"获取API使用情况失败:" + str(e))
90
  return i18n("**获取API使用情况失败**")
91
  rounded_usage = "{:.5f}".format(usage_data["total_usage"] / 100)
92
- return i18n("**本月使用金额(每个账号只有 5 美刀金额)** ") + f"\u3000 ${rounded_usage}"
93
  except requests.exceptions.ConnectTimeout:
94
  status_text = (
95
  STANDARD_ERROR_MSG + CONNECTION_TIMEOUT_MSG + ERROR_RETRIEVE_MSG
 
89
  logging.error(f"获取API使用情况失败:" + str(e))
90
  return i18n("**获取API使用情况失败**")
91
  rounded_usage = "{:.5f}".format(usage_data["total_usage"] / 100)
92
+ return i18n("**本月使用金额每个账号只有5美刀金额**") + f"\u3000 ${rounded_usage}"
93
  except requests.exceptions.ConnectTimeout:
94
  status_text = (
95
  STANDARD_ERROR_MSG + CONNECTION_TIMEOUT_MSG + ERROR_RETRIEVE_MSG