Skip to content

Commit

Permalink
fix: use gpt4o-mini close #541
Browse files Browse the repository at this point in the history
Signed-off-by: yihong0618 <[email protected]>
  • Loading branch information
yihong0618 committed Jul 22, 2024
1 parent cb05021 commit ed0ecc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xiao_config.yaml.example
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ end_conversation: "结束持续对话"
stream: true
# 传给 Chatbot completion 接口的参数,比如要使用自定义模型:
# gpt_options:
# model: gpt-4o-2024-05-13
# model: gpt-4o-mini
gpt_options: {}

# ----- OpenAI -----
Expand Down
2 changes: 1 addition & 1 deletion xiaogpt/bot/chatgptapi_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
@dataclasses.dataclass
class ChatGPTBot(ChatHistoryMixin, BaseBot):
name: ClassVar[str] = "ChatGPT"
default_options: ClassVar[dict[str, str]] = {"model": "gpt-4o-2024-05-13"}
default_options: ClassVar[dict[str, str]] = {"model": "gpt-4o-mini"}
openai_key: str
api_base: str | None = None
proxy: str | None = None
Expand Down

0 comments on commit ed0ecc5

Please sign in to comment.