feat(chat): load model options from backend
This commit is contained in:
@@ -60,7 +60,7 @@ describe("streamAgentChat", () => {
|
||||
|
||||
await streamAgentChat({
|
||||
message: "hi",
|
||||
model: "deepseek/deepseek-v4-flash",
|
||||
model: "provider/model",
|
||||
onEvent: (event) => events.push(event),
|
||||
});
|
||||
|
||||
@@ -73,7 +73,7 @@ describe("streamAgentChat", () => {
|
||||
body: JSON.stringify({
|
||||
message: "hi",
|
||||
session_id: undefined,
|
||||
model: "deepseek/deepseek-v4-flash",
|
||||
model: "provider/model",
|
||||
approval_mode: undefined,
|
||||
}),
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user