mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2025-02-07 21:46:10 +08:00
✨ 更新模型常量
This commit is contained in:
parent
61ff655ec8
commit
6da05b23c1
@ -23,8 +23,9 @@ SUPPORT_IMAGE_MODELS: list = [
|
||||
"phi-3.5-vision-instruct",
|
||||
"llama-3.2-90b-vision-instruct",
|
||||
"llama-3.2-11b-vision-instruct",
|
||||
"gemini-2.0-flash-exp",
|
||||
]
|
||||
REASONING_MODELS: list = ["o1-preview", "o1-mini"]
|
||||
NO_SYSPROMPT_MODELS: list = ["o1", "o1-preview", "o1-mini"]
|
||||
INTRODUCTION: str = f"""MarshoAI-NoneBot by LiteyukiStudio
|
||||
你好喵~我是一只可爱的猫娘AI,名叫小棉~🐾!
|
||||
我的主页在这里哦~↓↓↓
|
||||
|
@ -248,7 +248,7 @@ async def marsho(
|
||||
model_name.lower()
|
||||
in SUPPORT_IMAGE_MODELS + config.marshoai_additional_image_models
|
||||
)
|
||||
is_reasoning_model = model_name.lower() in REASONING_MODELS
|
||||
is_reasoning_model = model_name.lower() in NO_SYSPROMPT_MODELS
|
||||
usermsg = [] if is_support_image_model else ""
|
||||
for i in text: # type: ignore
|
||||
if i.type == "text":
|
||||
|
Loading…
x
Reference in New Issue
Block a user