diff --git a/.idea/maubot-llmplus.iml b/.idea/maubot-llmplus.iml index 6d99fbe..9d99f9e 100644 --- a/.idea/maubot-llmplus.iml +++ b/.idea/maubot-llmplus.iml @@ -4,7 +4,7 @@ - + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml index 90553d3..74d11cf 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/base-config.yaml b/base-config.yaml index fbdb912..4763066 100644 --- a/base-config.yaml +++ b/base-config.yaml @@ -2,7 +2,7 @@ allowed_users: [] use_platform: local_ai -name: "ollama" +name: "ai bot" reply_in_thread: true diff --git a/maubot_llmplus/thrid_platform.py b/maubot_llmplus/thrid_platform.py index 4fc3954..abe0956 100644 --- a/maubot_llmplus/thrid_platform.py +++ b/maubot_llmplus/thrid_platform.py @@ -109,7 +109,7 @@ class Anthropic(Platform): async def list_models(self) -> List[str]: # 由于没有列出所有支持的模型的api,所有只能写死在代码中 - models = ["Claude 3.5 Opus", "Claude 3.5 Sonnet", "Claude 3.5 Haiku", "Claude 3 Opus", "Claude 3 Sonnet ", "Claude 3 Haiku"] + models = ["claude-3-5-sonnet-20240620", "claude-3-opus-20240229 ", "claude-3-sonnet-20240229", "claude-3-haiku-20240307"] return [f"- {m}" for m in models] def get_type(self) -> str: