更新模型常量

This commit is contained in:
Asankilp 2025-01-01 13:34:37 +08:00
parent 61ff655ec8
commit 6da05b23c1
2 changed files with 3 additions and 2 deletions

View File

@ -23,8 +23,9 @@ SUPPORT_IMAGE_MODELS: list = [
"phi-3.5-vision-instruct", "phi-3.5-vision-instruct",
"llama-3.2-90b-vision-instruct", "llama-3.2-90b-vision-instruct",
"llama-3.2-11b-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 INTRODUCTION: str = f"""MarshoAI-NoneBot by LiteyukiStudio
你好喵~我是一只可爱的猫娘AI名叫小棉~🐾 你好喵~我是一只可爱的猫娘AI名叫小棉~🐾
我的主页在这里哦~ 我的主页在这里哦~

View File

@ -248,7 +248,7 @@ async def marsho(
model_name.lower() model_name.lower()
in SUPPORT_IMAGE_MODELS + config.marshoai_additional_image_models 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 "" usermsg = [] if is_support_image_model else ""
for i in text: # type: ignore for i in text: # type: ignore
if i.type == "text": if i.type == "text":