Spaces:
Running
Running
viktor
commited on
Commit
·
5f715bd
1
Parent(s):
185d40b
add deepseek-ai/DeepSeek-R1-0528
Browse files- README.md +1 -0
- src/lib/constants.dev.ts +7 -0
- src/lib/constants.ts +9 -2
README.md
CHANGED
@@ -9,6 +9,7 @@ license: mit
|
|
9 |
app_port: 5001
|
10 |
short_description: Novita Anysite shows how to use Novita to build a website
|
11 |
models:
|
|
|
12 |
- deepseek-ai/DeepSeek-V3-0324
|
13 |
- Qwen/Qwen3-235B-A22B
|
14 |
- Qwen/Qwen3-30B-A3B
|
|
|
9 |
app_port: 5001
|
10 |
short_description: Novita Anysite shows how to use Novita to build a website
|
11 |
models:
|
12 |
+
- deepseek-ai/DeepSeek-R1-0528
|
13 |
- deepseek-ai/DeepSeek-V3-0324
|
14 |
- Qwen/Qwen3-235B-A22B
|
15 |
- Qwen/Qwen3-30B-A3B
|
src/lib/constants.dev.ts
CHANGED
@@ -9,6 +9,13 @@ export const MODEL_CONFIG_PROMPT_IMPROVEMENT = {
|
|
9 |
const default_system_prompt = `ONLY USE HTML, CSS AND JAVASCRIPT. If you want to use ICON make sure to import the library first. Try to create the best UI possible by using only HTML, CSS and JAVASCRIPT. Use as much as you can TailwindCSS for the CSS, if you can't do something with TailwindCSS, then use custom CSS (make sure to import <script src="https://cdn.tailwindcss.com"></script> in the head). Also, try to ellaborate as much as you can, to create something unique. ALWAYS GIVE THE RESPONSE INTO A SINGLE HTML FILE`;
|
10 |
|
11 |
export const MODEL_CONFIG_CODE_GENERATION = [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
{
|
13 |
id: "deepseek/deepseek-v3-0324",
|
14 |
max_tokens: 16_000,
|
|
|
9 |
const default_system_prompt = `ONLY USE HTML, CSS AND JAVASCRIPT. If you want to use ICON make sure to import the library first. Try to create the best UI possible by using only HTML, CSS and JAVASCRIPT. Use as much as you can TailwindCSS for the CSS, if you can't do something with TailwindCSS, then use custom CSS (make sure to import <script src="https://cdn.tailwindcss.com"></script> in the head). Also, try to ellaborate as much as you can, to create something unique. ALWAYS GIVE THE RESPONSE INTO A SINGLE HTML FILE`;
|
10 |
|
11 |
export const MODEL_CONFIG_CODE_GENERATION = [
|
12 |
+
{
|
13 |
+
id: "deepseek/deepseek-r1-0528",
|
14 |
+
max_input_tokens: 48_000,
|
15 |
+
max_tokens: 16_000,
|
16 |
+
default_enable_thinking: true,
|
17 |
+
system_prompt: default_system_prompt,
|
18 |
+
},
|
19 |
{
|
20 |
id: "deepseek/deepseek-v3-0324",
|
21 |
max_tokens: 16_000,
|
src/lib/constants.ts
CHANGED
@@ -2,7 +2,7 @@ export const REDIRECT_URI =
|
|
2 |
process.env.REDIRECT_URI || `http://localhost:${process.env.APP_PORT || 5001}/api/auth/login`;
|
3 |
|
4 |
export const MODEL_CONFIG_PROMPT_IMPROVEMENT = {
|
5 |
-
id: "deepseek
|
6 |
max_input_tokens: 48_000,
|
7 |
max_tokens: 16_000,
|
8 |
}
|
@@ -11,7 +11,14 @@ const default_system_prompt = `ONLY USE HTML, CSS AND JAVASCRIPT. If you want to
|
|
11 |
|
12 |
export const MODEL_CONFIG_CODE_GENERATION = [
|
13 |
{
|
14 |
-
id: "deepseek-ai/DeepSeek-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
max_input_tokens: 48_000,
|
16 |
max_tokens: 16_000,
|
17 |
default_enable_thinking: false,
|
|
|
2 |
process.env.REDIRECT_URI || `http://localhost:${process.env.APP_PORT || 5001}/api/auth/login`;
|
3 |
|
4 |
export const MODEL_CONFIG_PROMPT_IMPROVEMENT = {
|
5 |
+
id: "deepseek/deepseek-v3-0324",
|
6 |
max_input_tokens: 48_000,
|
7 |
max_tokens: 16_000,
|
8 |
}
|
|
|
11 |
|
12 |
export const MODEL_CONFIG_CODE_GENERATION = [
|
13 |
{
|
14 |
+
id: "deepseek-ai/DeepSeek-R1-0528",
|
15 |
+
max_input_tokens: 48_000,
|
16 |
+
max_tokens: 16_000,
|
17 |
+
default_enable_thinking: true,
|
18 |
+
system_prompt: default_system_prompt,
|
19 |
+
},
|
20 |
+
{
|
21 |
+
id: "deepseek/deepseek-v3-0324",
|
22 |
max_input_tokens: 48_000,
|
23 |
max_tokens: 16_000,
|
24 |
default_enable_thinking: false,
|