Spaces:
Runtime error
Runtime error
笨蛋
commited on
Commit
·
a986689
1
Parent(s):
994e17f
Update request_llms/bridge_chatgpt_website.py
Browse files
request_llms/bridge_chatgpt_website.py
CHANGED
|
@@ -232,7 +232,7 @@ def generate_payload(inputs, llm_kwargs, history, system_prompt, stream):
|
|
| 232 |
整合所有信息,选择LLM模型,生成http请求,为发送请求做准备
|
| 233 |
"""
|
| 234 |
if not is_any_api_key(llm_kwargs['api_key']):
|
| 235 |
-
raise AssertionError("你提供了错误的API_KEY。\n\
|
| 236 |
|
| 237 |
headers = {
|
| 238 |
"Content-Type": "application/json",
|
|
|
|
| 232 |
整合所有信息,选择LLM模型,生成http请求,为发送请求做准备
|
| 233 |
"""
|
| 234 |
if not is_any_api_key(llm_kwargs['api_key']):
|
| 235 |
+
raise AssertionError("你提供了错误的API_KEY。\n\n请直接在输入区输入 令牌 / Key ,然后发送。")
|
| 236 |
|
| 237 |
headers = {
|
| 238 |
"Content-Type": "application/json",
|