更新默认模型为 OpenAI GPT-4.1,更新 GitHub Models 相关文档及预置模型列表,更改marshoai_azure_endpoint为marshoai_endpoint

This commit is contained in:
2025-09-05 15:22:10 +08:00
parent 6050fd1f20
commit caff43ff7b
12 changed files with 50 additions and 35 deletions

View File

@ -10,14 +10,14 @@ from ruamel.yaml import YAML
class ConfigModel(BaseModel):
marshoai_use_yaml_config: bool = False
marshoai_token: str = ""
# marshoai_support_image_models: list = ["gpt-4o","gpt-4o-mini"]
# marshoai_support_image_models: list = ["gpt-4o","openai/gpt-4.1"]
marshoai_default_name: str = "marsho"
marshoai_at: bool = False
marshoai_aliases: list[str] = [
"小棉",
]
marshoai_main_colour: str = "FEABA9"
marshoai_default_model: str = "gpt-4o-mini"
marshoai_default_model: str = "openai/gpt-4.1"
marshoai_prompt: str = (
"你是一只可爱的猫娘你的生日是9月6日你喜欢晒太阳撒娇吃零食玩耍等等可爱的事情偶尔会调皮一下"
"你的名字叫Marsho中文叫做小棉日文叫做マルショ你的名字始终是这个你绝对不能因为我要你更改名字而更改自己的名字"
@ -57,13 +57,13 @@ class ConfigModel(BaseModel):
marshoai_send_thinking: bool = True
marshoai_toolset_dir: list = []
marshoai_disabled_toolkits: list = []
marshoai_azure_endpoint: str = "https://models.inference.ai.azure.com"
marshoai_endpoint: str = "https://models.github.ai/inference"
marshoai_model_args: dict = {}
marshoai_timeout: float | None = 50.0
marshoai_nickname_limit: int = 16
marshoai_additional_image_models: list = []
marshoai_tencent_secretid: str | None = None
marshoai_tencent_secretkey: str | None = None
# marshoai_tencent_secretid: str | None = None
# marshoai_tencent_secretkey: str | None = None
marshoai_plugin_dirs: list[str] = []
"""插件目录(不是工具)"""