Skip to content

Commit f72f75d

Browse files
authored
fix bug
1 parent 330a5bf commit f72f75d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

WebAgent/WebWeaver/dashscope_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def call_dashscope(model, messages, stop, temperature, top_p, max_tokens, max_re
2525
}
2626

2727
url = os.getenv("DASHSCOPE_API_BASE", "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions")
28-
api_key = os.getenv("DASHSCOPE_API_KEY", "sk-4deb7c21bc32424290dfb2dc127f4054")
28+
api_key = os.getenv("DASHSCOPE_API_KEY")
2929
headers = {
3030
"Authorization": api_key,
3131
"Content-Type": "application/json"

0 commit comments

Comments
 (0)