mirror of
https://github.com/ChatGPTNextWeb/NextChat.git
synced 2026-03-04 07:48:05 +08:00
kimi support function call
This commit is contained in:
@@ -273,7 +273,11 @@ export function isDalle3(model: string) {
|
||||
}
|
||||
|
||||
export function showPlugins(provider: ServiceProvider, model: string) {
|
||||
if (provider == ServiceProvider.OpenAI || provider == ServiceProvider.Azure) {
|
||||
if (
|
||||
provider == ServiceProvider.OpenAI ||
|
||||
provider == ServiceProvider.Azure ||
|
||||
provider == ServiceProvider.Moonshot
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
if (provider == ServiceProvider.Anthropic && !model.includes("claude-2")) {
|
||||
|
||||
Reference in New Issue
Block a user