Skip to content

Commit 1c38c38

Browse files
committed
feat: switch default text model to qwen3.8-max
Align text chat, pipeline, config UI, login validation, and Token Plan text presets, and update README, skill reference, and related tests.
1 parent ed81178 commit 1c38c38

19 files changed

Lines changed: 31 additions & 31 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ _Built for AI Agents. Every command works as a structured tool call._
2424

2525
Equip your AI Agent out-of-the-box with these capabilities, composable across complex tasks:
2626

27-
- **Text chat** — Qwen3.7-max: major gains in agentic coding, frontend coding, and vibe coding
27+
- **Text chat** — Qwen3.8-max: major gains in agentic coding, frontend coding, and vibe coding
2828
- **Multimodal (Omni)** — Full omni-modal support across text + image + audio + video
2929
- **Image generation & editing** — Qwen-Image 2.0: pro text rendering, photorealism, strong semantic adherence, multi-image composition
3030
- **Video generation & editing** — happyhorse-1.1 series: text-/image-/reference-to-video and natural-language video editing (up to 9-image reference)

README.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
2424

2525
让您的 AI Agent 开箱即具备以下能力,并可在复杂任务中自动组合调用:
2626

27-
- **文本对话** — Qwen3.7-max:Agentic coding、前端编程、Vibe coding 等能力显著增强
27+
- **文本对话** — Qwen3.8-max:Agentic coding、前端编程、Vibe coding 等能力显著增强
2828
- **全模态对话** — 文本 + 图像 + 音频 + 视频全模态支持
2929
- **图像生成与编辑** — Qwen-Image 2.0:专业文字渲染、真实质感、强语义遵循、多图合成
3030
- **视频生成与编辑** — happyhorse-1.1 系列,支持文生 / 图生 / 参考生(最多 9 张图参考)/ 自然语言视频编辑

packages/cli/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ _Built for AI Agents. Every command works as a structured tool call._
2424

2525
Equip your AI Agent out-of-the-box with these capabilities, composable across complex tasks:
2626

27-
- **Text chat** — Qwen3.7-max: major gains in agentic coding, frontend coding, and vibe coding
27+
- **Text chat** — Qwen3.8-max: major gains in agentic coding, frontend coding, and vibe coding
2828
- **Multimodal (Omni)** — Full omni-modal support across text + image + audio + video
2929
- **Image generation & editing** — Qwen-Image 2.0: pro text rendering, photorealism, strong semantic adherence, multi-image composition
3030
- **Video generation & editing** — happyhorse-1.1 series: text-/image-/reference-to-video and natural-language video editing (up to 9-image reference)

packages/cli/README.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ _专为 AI Agent 打造,每个命令均可作为结构化工具调用。_
2424

2525
让您的 AI Agent 开箱即具备以下能力,并可在复杂任务中自动组合调用:
2626

27-
- **文本对话** — Qwen3.7-max:Agentic coding、前端编程、Vibe coding 等能力显著增强
27+
- **文本对话** — Qwen3.8-max:Agentic coding、前端编程、Vibe coding 等能力显著增强
2828
- **全模态对话** — 文本 + 图像 + 音频 + 视频全模态支持
2929
- **图像生成与编辑** — Qwen-Image 2.0:专业文字渲染、真实质感、强语义遵循、多图合成
3030
- **视频生成与编辑** — happyhorse-1.1 系列,支持文生 / 图生 / 参考生(最多 9 张图参考)/ 自然语言视频编辑

packages/commands/src/commands/auth/login-api-key.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export async function validateAndPersistApiKey(
5757
const persistBaseUrl = profile.persistBaseUrl
5858
? normalizeModelBaseUrl(profile.persistBaseUrl)
5959
: undefined;
60-
const validationModel = "qwen3.7-max";
60+
const validationModel = "qwen3.8-max";
6161
const requestOpts = {
6262
url: baseUrl + chatPath(),
6363
method: "POST",

packages/commands/src/commands/config/shared.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ export const UI_BOOLEAN_KEYS = new Set<string>(["telemetry"]);
6060
// are surfaced as input placeholders so users can see the effective default
6161
// without persisting a value that would pin the model.
6262
export const UI_MODEL_DEFAULTS: Record<string, string> = {
63-
default_text_model: "qwen3.7-max",
63+
default_text_model: "qwen3.8-max",
6464
default_image_model: "qwen-image-2.0",
6565
default_video_model: "happyhorse-1.1-t2v",
6666
default_speech_model: "cosyvoice-v3-flash",
@@ -80,7 +80,7 @@ export interface ModelOption {
8080
// Only names present in the codebase are listed here — no invented models.
8181
export const UI_MODEL_CATALOG: Record<string, ModelOption[]> = {
8282
default_text_model: [
83-
{ id: "qwen3.7-max", role: "text/chat default" },
83+
{ id: "qwen3.8-max", role: "text/chat default" },
8484
{ id: "qwen3-coder-plus", role: "coding-oriented (agent config)" },
8585
{ id: "qwen-flash", role: "fast · advisor ranking" },
8686
{ id: "qwen3.6-flash", role: "fast · advisor intent" },

packages/commands/src/commands/managed-agent/init.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const PROVIDER_BLOCKS: Record<string, string> = {
2525
};
2626

2727
const SINGLE_MODEL: Record<string, string> = {
28-
bailian: ` model: qwen3.7-max`,
28+
bailian: ` model: qwen3.8-max`,
2929
claude: ` model: claude-sonnet-4-6`,
3030
qoder: ` model: ultimate`,
3131
ark: ` model: doubao-seed-2-1-pro-260628`,
@@ -39,7 +39,7 @@ function buildTemplate(options: { provider: string; agentName: string }): string
3939

4040
const modelBlock =
4141
options.provider === "all"
42-
? ` model:\n bailian: qwen3.7-max\n claude: claude-sonnet-4-6\n qoder: ultimate\n ark: doubao-seed-2-1-pro-260628`
42+
? ` model:\n bailian: qwen3.8-max\n claude: claude-sonnet-4-6\n qoder: ultimate\n ark: doubao-seed-2-1-pro-260628`
4343
: SINGLE_MODEL[options.provider]!;
4444

4545
const toolBlock =

packages/commands/src/commands/text/chat.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { ansi, emitResult, emitBare } from "bailian-cli-runtime";
1515
import { readFileSync } from "fs";
1616

1717
const CHAT_FLAGS = {
18-
model: { type: "string", valueHint: "<model>", description: "Model ID (default: qwen3.7-max)" },
18+
model: { type: "string", valueHint: "<model>", description: "Model ID (default: qwen3.8-max)" },
1919
message: {
2020
type: "array",
2121
valueHint: "<text>",
@@ -123,7 +123,7 @@ export default defineCommand({
123123
const { settings, flags } = ctx;
124124
const { system, messages } = parseMessages(flags);
125125

126-
const model = flags.model || settings.defaultTextModel || "qwen3.7-max";
126+
const model = flags.model || settings.defaultTextModel || "qwen3.8-max";
127127
const shouldStream = flags.stream || process.stdout.isTTY;
128128
const format = detectOutputFormat(settings.output);
129129

packages/commands/tests/config-ui.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ test("GET /api/config 返回全部 profile、明文密钥与持久化激活项",
9090
expect(res.json.booleanKeys).toContain("telemetry");
9191
// Default field hints are surfaced as prefilled values in the UI.
9292
expect(res.json.fieldDefaults.default_image_model).toBe("qwen-image-2.0");
93-
expect(res.json.fieldDefaults.default_text_model).toBe("qwen3.7-max");
93+
expect(res.json.fieldDefaults.default_text_model).toBe("qwen3.8-max");
9494
expect(res.json.fieldDefaults.output_dir).toContain("bailian-output");
9595
expect(res.json.fieldDefaults.timeout).toBe("300");
9696
expect(res.json.fieldDefaults.base_url).toBe("https://dashscope.aliyuncs.com");

packages/commands/tests/e2e/auth.e2e.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ describe("e2e: auth", () => {
217217
authorization: "Bearer sk-e2e-placeholder",
218218
sourceConfig: expect.any(String),
219219
body: {
220-
model: "qwen3.7-max",
220+
model: "qwen3.8-max",
221221
stream: false,
222222
},
223223
});
@@ -266,7 +266,7 @@ describe("e2e: auth", () => {
266266
expect(config["token-plan"]).toMatchObject({
267267
api_key: "sk-sp-e2e-placeholder",
268268
base_url: validationServer.baseUrl,
269-
default_text_model: "qwen3.8-max-preview",
269+
default_text_model: "qwen3.8-max",
270270
default_video_model: "happyhorse-1.1-t2v",
271271
default_image_to_video_model: "happyhorse-1.1-i2v",
272272
default_reference_to_video_model: "happyhorse-1.1-r2v",
@@ -314,7 +314,7 @@ describe("e2e: auth", () => {
314314
authorization: "Bearer sk-sp-e2e-placeholder",
315315
sourceConfig: expect.any(String),
316316
body: {
317-
model: "qwen3.7-max",
317+
model: "qwen3.8-max",
318318
stream: false,
319319
},
320320
});
@@ -328,7 +328,7 @@ describe("e2e: auth", () => {
328328
expect(config["token-plan"]).toMatchObject({
329329
api_key: "sk-sp-e2e-placeholder",
330330
base_url: "https://token-plan.cn-beijing.maas.aliyuncs.com",
331-
default_text_model: "qwen3.8-max-preview",
331+
default_text_model: "qwen3.8-max",
332332
default_video_model: "happyhorse-1.1-t2v",
333333
default_image_to_video_model: "happyhorse-1.1-i2v",
334334
default_reference_to_video_model: "happyhorse-1.1-r2v",

0 commit comments

Comments
 (0)