mirror of https://github.com/sigoden/aichat
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
336 B
Rust
12 lines
336 B
Rust
openai_compatible_client!(
|
|
MoonshotConfig,
|
|
MoonshotClient,
|
|
"https://api.moonshot.cn/v1",
|
|
[
|
|
// https://platform.moonshot.cn/docs/intro#%E6%A8%A1%E5%9E%8B%E5%88%97%E8%A1%A8
|
|
("moonshot-v1-8k", "text", 8000),
|
|
("moonshot-v1-32k", "text", 32000),
|
|
("moonshot-v1-128k", "text", 128000),
|
|
]
|
|
);
|