mirror of https://github.com/sigoden/aichat
feat: support moonshot again (#442)
parent
29a4ffd514
commit
503ec98bd1
@ -0,0 +1,11 @@
|
|||||||
|
openai_compatible_module!(
|
||||||
|
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),
|
||||||
|
]
|
||||||
|
);
|
Loading…
Reference in New Issue