|
|
|
@ -9,24 +9,24 @@ pub use model::*;
|
|
|
|
|
|
|
|
|
|
register_client!(
|
|
|
|
|
(openai, "openai", OpenAIConfig, OpenAIClient),
|
|
|
|
|
(gemini, "gemini", GeminiConfig, GeminiClient),
|
|
|
|
|
(claude, "claude", ClaudeConfig, ClaudeClient),
|
|
|
|
|
(mistral, "mistral", MistralConfig, MistralClient),
|
|
|
|
|
(cohere, "cohere", CohereConfig, CohereClient),
|
|
|
|
|
(
|
|
|
|
|
openai_compatible,
|
|
|
|
|
"openai-compatible",
|
|
|
|
|
OpenAICompatibleConfig,
|
|
|
|
|
OpenAICompatibleClient
|
|
|
|
|
),
|
|
|
|
|
(ollama, "ollama", OllamaConfig, OllamaClient),
|
|
|
|
|
(
|
|
|
|
|
azure_openai,
|
|
|
|
|
"azure-openai",
|
|
|
|
|
AzureOpenAIConfig,
|
|
|
|
|
AzureOpenAIClient
|
|
|
|
|
),
|
|
|
|
|
(
|
|
|
|
|
openai_compatible,
|
|
|
|
|
"openai-compatible",
|
|
|
|
|
OpenAICompatibleConfig,
|
|
|
|
|
OpenAICompatibleClient
|
|
|
|
|
),
|
|
|
|
|
(gemini, "gemini", GeminiConfig, GeminiClient),
|
|
|
|
|
(vertexai, "vertexai", VertexAIConfig, VertexAIClient),
|
|
|
|
|
(claude, "claude", ClaudeConfig, ClaudeClient),
|
|
|
|
|
(mistral, "mistral", MistralConfig, MistralClient),
|
|
|
|
|
(cohere, "cohere", CohereConfig, CohereClient),
|
|
|
|
|
(ollama, "ollama", OllamaConfig, OllamaClient),
|
|
|
|
|
(ernie, "ernie", ErnieConfig, ErnieClient),
|
|
|
|
|
(qianwen, "qianwen", QianwenConfig, QianwenClient),
|
|
|
|
|
(moonshot, "moonshot", MoonshotConfig, MoonshotClient),
|
|
|
|
|