Skip to content

Commit 80b2df7

Browse files
committed
update doc
1 parent 72b20e2 commit 80b2df7

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

doc/XXL-JOB官方文档.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,7 @@ public void demoJobHandler() throws Exception {
12761276
{
12771277
"input": "{输入信息,必填信息}",
12781278
"prompt": "{模型prompt,可选信息}",
1279-
"model": "{模型实现,如qwen3:0.6b,可选信息}"
1279+
"model": "{模型实现,如qwen3.5:2b,可选信息}"
12801280
}
12811281
```
12821282
- b、difyWorkflowJobHandler:DifyWorkflow 任务,支持自定义inputs、user、baseUrl、apiKey 等输入信息,示例参数如下;

doc/db/tables_xxl_job.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ VALUES (1, 1, '示例任务01', now(), now(), 'XXL', '', 'CRON', '0 0 0 * * ? *'
161161
'DO_NOTHING', 'FIRST', 'ollamaJobHandler', '{
162162
"input": "慢SQL问题分析思路",
163163
"prompt": "你是一个研发工程师,擅长解决技术类问题。",
164-
"model": "qwen3:0.6b"
164+
"model": "qwen3.5:2b"
165165
}', 'SERIAL_EXECUTION', 0, 0, 'BEAN', '', 'GLUE代码初始化',
166166
now(), ''),
167167
(3, 2, 'Dify示例任务', now(), now(), 'XXL', '', 'NONE', '',

xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/src/main/java/com/xxl/job/executor/controller/IndexController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ String index() {
5050
@Resource
5151
private OllamaChatModel ollamaChatModel;
5252
private String prompt = "你好,你是一个研发工程师,擅长解决技术类问题。";
53-
private String modle = "qwen3:0.6b";
53+
private String modle = "qwen3.5:2b";
5454

5555
/**
5656
* ChatClient 简单调用

xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/src/main/java/com/xxl/job/executor/jobhandler/AIXxlJob.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void ollamaJobHandler() {
7070
return;
7171
}
7272
if (ollamaParam.getModel()==null || ollamaParam.getModel().isBlank()) {
73-
ollamaParam.setModel("qwen3:0.6b");
73+
ollamaParam.setModel("qwen3.5:2b");
7474
}
7575
} catch (Exception e) {
7676
XxlJobHelper.log(new RuntimeException("OllamaParam parse error", e));

xxl-job-executor-samples/xxl-job-executor-sample-springboot-ai/src/test/java/com/xxl/job/executor/test/ollama/OllamaTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class OllamaTest {
3232
@Test
3333
public void chatTest() {
3434

35-
String model = "qwen3:0.6b";
35+
String model = "qwen3.5:2b";
3636
String prompt = "背景说明:你是一个研发工程师,擅长解决技术类问题。";
3737
String input = "请写一个java程序,实现一个方法,输入一个字符串,返回字符串的长度。";
3838

@@ -59,7 +59,7 @@ public void chatTest() {
5959
@Test
6060
public void chatStreamTest() throws InterruptedException {
6161

62-
String model = "qwen3:0.6b";
62+
String model = "qwen3.5:2b";
6363
String prompt = "背景说明:你是一个研发工程师,擅长解决技术类问题。";
6464
String input = "请写一个java程序,实现一个方法,输入一个字符串,返回字符串的长度。";
6565

0 commit comments

Comments
 (0)