refactor: rename macro to openai_compatible_client

pull/451/head
sigoden 2 weeks ago
parent 740ca2413a
commit eac01fb129

@ -126,7 +126,7 @@ macro_rules! register_client {
}
#[macro_export]
macro_rules! openai_compatible_module {
macro_rules! openai_compatible_client {
(
$config:ident,
$client:ident,

@ -1,4 +1,4 @@
openai_compatible_module!(
openai_compatible_client!(
GroqConfig,
GroqClient,
"https://api.groq.com/openai/v1",

@ -1,4 +1,4 @@
openai_compatible_module!(
openai_compatible_client!(
MistralConfig,
MistralClient,
"https://api.mistral.ai/v1",

@ -1,4 +1,4 @@
openai_compatible_module!(
openai_compatible_client!(
MoonshotConfig,
MoonshotClient,
"https://api.moonshot.cn/v1",

@ -1,4 +1,4 @@
openai_compatible_module!(
openai_compatible_client!(
PerplexityConfig,
PerplexityClient,
"https://api.perplexity.ai",

Loading…
Cancel
Save