feat: add claude and bard

This commit is contained in:
Yidadaa
2023-11-07 23:22:11 +08:00
parent 5610f423d0
commit cdf0311d27
20 changed files with 580 additions and 394 deletions

View File

@@ -2,9 +2,11 @@ import { MaskConfig, ProviderConfig } from "../store";
import { shareToShareGPT } from "./common/share";
import { createOpenAiClient } from "./openai";
import { ChatControllerPool } from "./common/controller";
import { createAnthropicClient } from "./anthropic";
export const LLMClients = {
openai: createOpenAiClient,
anthropic: createAnthropicClient,
};
export function createLLMClient(