mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2024-11-23 09:37:37 +08:00
👀v0.3.1,增加2个支持图片处理的模型
This commit is contained in:
parent
5f2ee2f745
commit
74429a3e6c
@ -1,4 +1,4 @@
|
||||
SUPPORT_IMAGE_MODELS: list = ["gpt-4o","gpt-4o-mini"]
|
||||
SUPPORT_IMAGE_MODELS: list = ["gpt-4o","gpt-4o-mini","llama-3.2-90b-vision-instruct","llama-3.2-11b-vision-instruct"]
|
||||
REASONING_MODELS: list = ["o1-preview","o1-mini"]
|
||||
INTRODUCTION: str = """你好喵~我是一只可爱的猫娘AI,名叫小棉~🐾!
|
||||
我的代码在这里哦~↓↓↓
|
||||
|
@ -107,7 +107,8 @@ def suggest_solution(errinfo: str) -> str:
|
||||
"tokens_limit_reached": "请求token达到上限。请重置上下文。",
|
||||
"content_length_limit": "请求体过大。请重置上下文。",
|
||||
"unauthorized": "Azure凭据无效。请联系Bot管理员。",
|
||||
"invalid type: parameter messages.content is of type array but should be of type string.": "聊天请求体包含此模型不支持的数据类型。请重置上下文。"
|
||||
"invalid type: parameter messages.content is of type array but should be of type string.": "聊天请求体包含此模型不支持的数据类型。请重置上下文。",
|
||||
"At most 1 image(s) may be provided in one request.": "此模型只能在上下文中包含1张图片。如果此前的聊天已经发送过图片,请重置上下文。"
|
||||
}
|
||||
|
||||
for key, suggestion in suggestions.items():
|
||||
|
@ -1,6 +1,6 @@
|
||||
[project]
|
||||
name = "nonebot-plugin-marshoai"
|
||||
version = "0.3"
|
||||
version = "0.3.1"
|
||||
description = "Nonebot2插件,调用Azure OpenAI服务实现猫娘聊天"
|
||||
readme = "README.md"
|
||||
requires-python = "<4.0,>=3.9"
|
||||
|
Loading…
Reference in New Issue
Block a user