diff options
| author | sigoden <sigoden@gmail.com> | 2024-04-29 09:27:11 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-29 09:27:11 +0800 |
| commit | 34041a976c0977d51123e6d5fefd944e222e2918 (patch) | |
| tree | 1186205314499e911a702289c1dafb898479ed3d /src/client/mod.rs | |
| parent | 68882ecd4dced38e92b6ef581a30e45358fc61e0 (diff) | |
| download | aichat-34041a976c0977d51123e6d5fefd944e222e2918.tar.gz | |
feat: support cloudflare client (#459)
Diffstat (limited to 'src/client/mod.rs')
| -rw-r--r-- | src/client/mod.rs | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/client/mod.rs b/src/client/mod.rs index 0916801..a311efe 100644 --- a/src/client/mod.rs +++ b/src/client/mod.rs @@ -19,12 +19,6 @@ register_client!( (cohere, "cohere", CohereConfig, CohereClient), (perplexity, "perplexity", PerplexityConfig, PerplexityClient), (groq, "groq", GroqConfig, GroqClient), - ( - openai_compatible, - "openai-compatible", - OpenAICompatibleConfig, - OpenAICompatibleClient - ), (ollama, "ollama", OllamaConfig, OllamaClient), ( azure_openai, @@ -34,7 +28,14 @@ register_client!( ), (vertexai, "vertexai", VertexAIConfig, VertexAIClient), (bedrock, "bedrock", BedrockConfig, BedrockClient), + (cloudflare, "cloudflare", CloudflareConfig, CloudflareClient), (ernie, "ernie", ErnieConfig, ErnieClient), (qianwen, "qianwen", QianwenConfig, QianwenClient), (moonshot, "moonshot", MoonshotConfig, MoonshotClient), + ( + openai_compatible, + "openai-compatible", + OpenAICompatibleConfig, + OpenAICompatibleClient + ), ); |
