tweak: remove steering wrapper that can bust cache (#33039)
This commit is contained in:
parent
3f1fffeb6d
commit
f092bafe88
2 changed files with 3 additions and 19 deletions
|
|
@ -1346,7 +1346,9 @@ it.instance(
|
|||
|
||||
const inputs = yield* llm.inputs
|
||||
expect(inputs).toHaveLength(2)
|
||||
expect(JSON.stringify(inputs.at(-1)?.messages)).toContain("second")
|
||||
const messages = inputs.at(-1)?.messages
|
||||
if (!Array.isArray(messages)) throw new Error("expected LLM messages")
|
||||
expect(messages.at(-1)).toEqual({ role: "user", content: "second" })
|
||||
}),
|
||||
3_000,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue