Spaces:
Running
Running
add new model ZAI
Browse files- README.md +6 -5
- app/api/ask/route.ts +0 -11
- assets/zai.svg +13 -0
- lib/providers.ts +11 -0
- public/providers/zai-org.svg +215 -0
README.md
CHANGED
@@ -7,21 +7,22 @@ sdk: docker
|
|
7 |
pinned: true
|
8 |
app_port: 3000
|
9 |
license: mit
|
10 |
-
short_description: Generate any application
|
11 |
models:
|
12 |
- deepseek-ai/DeepSeek-V3-0324
|
13 |
- deepseek-ai/DeepSeek-R1-0528
|
14 |
-
- Qwen/Qwen3-Coder-480B-A35B-Instruct
|
15 |
-
- moonshotai/Kimi-K2-Instruct
|
16 |
-
- moonshotai/Kimi-K2-Instruct-0905
|
17 |
- deepseek-ai/DeepSeek-V3.1
|
18 |
- deepseek-ai/DeepSeek-V3.1-Terminus
|
19 |
- deepseek-ai/DeepSeek-V3.2-Exp
|
|
|
|
|
|
|
|
|
20 |
---
|
21 |
|
22 |
# DeepSite 🐳
|
23 |
|
24 |
-
DeepSite is a
|
25 |
|
26 |
## How to use it locally
|
27 |
|
|
|
7 |
pinned: true
|
8 |
app_port: 3000
|
9 |
license: mit
|
10 |
+
short_description: Generate any application by Vibe Coding
|
11 |
models:
|
12 |
- deepseek-ai/DeepSeek-V3-0324
|
13 |
- deepseek-ai/DeepSeek-R1-0528
|
|
|
|
|
|
|
14 |
- deepseek-ai/DeepSeek-V3.1
|
15 |
- deepseek-ai/DeepSeek-V3.1-Terminus
|
16 |
- deepseek-ai/DeepSeek-V3.2-Exp
|
17 |
+
- Qwen/Qwen3-Coder-480B-A35B-Instruct
|
18 |
+
- moonshotai/Kimi-K2-Instruct
|
19 |
+
- moonshotai/Kimi-K2-Instruct-0905
|
20 |
+
- zai-org/GLM-4.6
|
21 |
---
|
22 |
|
23 |
# DeepSite 🐳
|
24 |
|
25 |
+
DeepSite is a Vibe Coding Platform designed to make coding smarter and more efficient. Tailored for developers, data scientists, and AI engineers, it integrates generative AI into your coding projects to enhance creativity and productivity.
|
26 |
|
27 |
## How to use it locally
|
28 |
|
app/api/ask/route.ts
CHANGED
@@ -55,17 +55,6 @@ export async function POST(request: NextRequest) {
|
|
55 |
);
|
56 |
}
|
57 |
|
58 |
-
if (!selectedModel.providers.includes(provider) && provider !== "auto") {
|
59 |
-
return NextResponse.json(
|
60 |
-
{
|
61 |
-
ok: false,
|
62 |
-
error: `The selected model does not support the ${provider} provider.`,
|
63 |
-
openSelectProvider: true,
|
64 |
-
},
|
65 |
-
{ status: 400 }
|
66 |
-
);
|
67 |
-
}
|
68 |
-
|
69 |
let token: string | null = null;
|
70 |
if (userToken) token = userToken;
|
71 |
let billTo: string | null = null;
|
|
|
55 |
);
|
56 |
}
|
57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
58 |
let token: string | null = null;
|
59 |
if (userToken) token = userToken;
|
60 |
let billTo: string | null = null;
|
assets/zai.svg
ADDED
|
lib/providers.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import DeepSeekLogo from "@/assets/deepseek.svg";
|
2 |
import QwenLogo from "@/assets/qwen.svg";
|
3 |
import KimiLogo from "@/assets/kimi.svg";
|
|
|
4 |
|
5 |
export const PROVIDERS = {
|
6 |
"fireworks-ai": {
|
@@ -31,6 +32,10 @@ export const PROVIDERS = {
|
|
31 |
name: "Groq",
|
32 |
id: "groq",
|
33 |
},
|
|
|
|
|
|
|
|
|
34 |
};
|
35 |
|
36 |
export const MODELS = [
|
@@ -91,4 +96,10 @@ export const MODELS = [
|
|
91 |
logo: KimiLogo,
|
92 |
companyName: "Kimi",
|
93 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
];
|
|
|
1 |
import DeepSeekLogo from "@/assets/deepseek.svg";
|
2 |
import QwenLogo from "@/assets/qwen.svg";
|
3 |
import KimiLogo from "@/assets/kimi.svg";
|
4 |
+
import ZaiLogo from "@/assets/zai.svg";
|
5 |
|
6 |
export const PROVIDERS = {
|
7 |
"fireworks-ai": {
|
|
|
32 |
name: "Groq",
|
33 |
id: "groq",
|
34 |
},
|
35 |
+
"zai-org": {
|
36 |
+
name: "Z.ai",
|
37 |
+
id: "zai",
|
38 |
+
},
|
39 |
};
|
40 |
|
41 |
export const MODELS = [
|
|
|
96 |
logo: KimiLogo,
|
97 |
companyName: "Kimi",
|
98 |
},
|
99 |
+
{
|
100 |
+
value: "zai-org/GLM-4.6",
|
101 |
+
label: "GLM-4.6",
|
102 |
+
logo: ZaiLogo,
|
103 |
+
companyName: "Z.ai",
|
104 |
+
}
|
105 |
];
|
public/providers/zai-org.svg
ADDED
|