tweak: remove steering wrapper that can bust cache (#33039)
This commit is contained in:
@@ -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,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user