增加模型选择功能,支持不同 Agent 模型
Build Push and Deploy / docker-image (push) Successful in 1m3s
Build Push and Deploy / deploy-fallback-log (push) Has been skipped

This commit is contained in:
2026-05-13 18:12:22 +08:00
parent a4486e3d89
commit 8058b7b859
5 changed files with 192 additions and 42 deletions
+6
View File
@@ -51,6 +51,7 @@ describe("streamAgentChat", () => {
await streamAgentChat({
message: "hi",
model: "deepseek/deepseek-v4-pro",
onEvent: (event) => events.push(event),
});
@@ -60,6 +61,11 @@ describe("streamAgentChat", () => {
method: "POST",
projectHeaderMode: "include",
skipAuthRedirect: true,
body: JSON.stringify({
message: "hi",
session_id: undefined,
model: "deepseek/deepseek-v4-pro",
}),
}),
);