Skip to content

Commit 68b0c95

Browse files
authored
feat: change llm (#880)
1 parent 716a64f commit 68b0c95

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

components/use-x-agent/demo/model.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ const { Paragraph } = Typography;
1010
* 🔔 Please replace the BASE_URL, PATH, MODEL, API_KEY with your own values.
1111
*/
1212

13-
const BASE_URL = 'https://api.x.ant.design/api/llm_siliconflow_deepseekv3';
13+
const BASE_URL = 'https://api.x.ant.design/api/llm_siliconflow_qwen3-8b';
1414

1515
/**
1616
* 🔔 The MODEL is fixed in the current request, please replace it with your BASE_UR and MODEL
1717
*/
1818

19-
const MODEL = 'deepseek-ai/DeepSeek-V3';
19+
const MODEL = 'Qwen3-8B';
2020

2121
/**
2222
* 🔔 the API_KEY is a placeholder indicator interface that has a built-in real API_KEY

components/use-x-chat/demo/model.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ import React, { useRef } from 'react';
77
* 🔔 Please replace the BASE_URL, PATH, MODEL, API_KEY with your own values.
88
*/
99

10-
const BASE_URL = 'https://api.x.ant.design/api/llm_siliconflow_deepseekr1';
10+
const BASE_URL = 'https://api.x.ant.design/api/llm_siliconflow_deepSeek-r1-distill-1wen-7b';
1111

1212
/**
1313
* 🔔 The MODEL is fixed in the current request, please replace it with your BASE_UR and MODEL
1414
*/
1515

16-
const MODEL = 'deepseek-ai/DeepSeek-R1';
16+
const MODEL = 'DeepSeek-R1-Distill-Qwen-7B';
1717

1818
/**
1919
* 🔔 the API_KEY is a placeholder indicator interface that has a built-in real API_KEY

components/x-request/demo/model.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ const { Paragraph } = Typography;
1111
* 🔔 Please replace the BASE_URL, PATH, MODEL, API_KEY with your own values.
1212
*/
1313

14-
const BASE_URL = 'https://api.x.ant.design/api/llm_siliconflow_deepseekv3';
14+
const BASE_URL = 'https://api.x.ant.design/api/llm_siliconflow_qwen3-8b';
1515

1616
/**
1717
* 🔔 The MODEL is fixed in the current request, please replace it with your BASE_UR and MODEL
1818
*/
1919

20-
const MODEL = 'deepseek-ai/DeepSeek-V3';
20+
const MODEL = 'Qwen3-8B';
2121

2222
/**
2323
* 🔔 the API_KEY is a placeholder indicator interface that has a built-in real API_KEY

docs/playground/copilot.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ const Copilot = (props: CopilotProps) => {
180180
// ==================== Runtime ====================
181181

182182
const [agent] = useXAgent<BubbleDataType>({
183-
baseURL: 'https://api.x.ant.design/api/llm_siliconflow_deepseekr1',
184-
model: 'deepseek-ai/DeepSeek-R1',
183+
baseURL: 'https://api.x.ant.design/api/llm_siliconflow_deepSeek-r1-distill-1wen-7b',
184+
model: 'DeepSeek-R1-Distill-Qwen-7B',
185185
dangerouslyApiKey: 'Bearer sk-xxxxxxxxxxxxxxxxxxxx',
186186
});
187187

docs/playground/independent.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,8 @@ const Independent: React.FC = () => {
275275

276276
// ==================== Runtime ====================
277277
const [agent] = useXAgent<BubbleDataType>({
278-
baseURL: 'https://api.x.ant.design/api/llm_siliconflow_deepseekr1',
279-
model: 'deepseek-ai/DeepSeek-R1',
278+
baseURL: 'https://api.x.ant.design/api/llm_siliconflow_deepSeek-r1-distill-1wen-7b',
279+
model: 'DeepSeek-R1-Distill-Qwen-7B',
280280
dangerouslyApiKey: 'Bearer sk-xxxxxxxxxxxxxxxxxxxx',
281281
});
282282
const loading = agent.isRequesting();

0 commit comments

Comments
 (0)