提交 aacc7828 编写于 作者: 檀越@新空间's avatar 檀越@新空间 🐭

fix:整理

上级 b3fe58c1
此差异已折叠。
......@@ -2,11 +2,7 @@ import openai
import chainlit as cl
openai.proxy = 'http://127.0.0.1:7890'
# 道英
# openai.api_key = "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"
# 我的key
openai.api_key = "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"
openai.api_key = "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"
# model_name = "text-davinci-003"
model_name = "gpt-3.5-turbo"
settings = {
......
......@@ -32,4 +32,4 @@ async def main(message: str):
):
token = stream_resp.get("choices")[0].get("text")
await msg.stream_token(token)
await msg.send()
await msg.send()
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册