mirror of
https://github.com/moltbot/moltbot.git
synced 2026-05-13 23:56:07 +00:00
test: cover queued followup retargeting
This commit is contained in:
@@ -46,13 +46,15 @@ describe("refreshQueuedFollowupSession", () => {
|
||||
nextAuthProfileIdSource: undefined,
|
||||
});
|
||||
|
||||
expect(queue.lastRun).toMatchObject({
|
||||
expect(queue.lastRun).toEqual({
|
||||
...makeRun(),
|
||||
provider: "openai",
|
||||
model: "gpt-4o",
|
||||
authProfileId: undefined,
|
||||
authProfileIdSource: undefined,
|
||||
});
|
||||
expect(queue.items[0]?.run).toMatchObject({
|
||||
expect(queue.items[0]?.run).toEqual({
|
||||
...makeRun(),
|
||||
provider: "openai",
|
||||
model: "gpt-4o",
|
||||
authProfileId: undefined,
|
||||
@@ -76,7 +78,8 @@ describe("refreshQueuedFollowupSession", () => {
|
||||
nextModelOverrideSource: "user",
|
||||
});
|
||||
|
||||
expect(queue.items[0]?.run).toMatchObject({
|
||||
expect(queue.items[0]?.run).toEqual({
|
||||
...makeRun(),
|
||||
provider: "ollama",
|
||||
model: "qwen3.5:27b",
|
||||
hasSessionModelOverride: true,
|
||||
|
||||
Reference in New Issue
Block a user