update: 修改anthropic请求体

This commit is contained in:
taylor
2024-10-14 17:55:37 +08:00
parent f2b76f531d
commit 50508cc9e9

View File

@@ -124,7 +124,7 @@ class AiBotPlugin(AbsExtraConfigPlugin):
return Anthropic(self.config, self.http)
if use_platform == 'local_ai#ollama':
return Ollama(self.config, self.http)
if use_platform == 'lmstudio':
if use_platform == 'local_ai#lmstudio':
return LmStudio(self.config, self.http)
else:
raise ValueError(f"not found platform type: {type}")