test: stabilize patch seeding across e2e backends
This commit is contained in:
parent
1c0812fe01
commit
0022cba7c5
4 changed files with 248 additions and 0 deletions
|
|
@ -2,6 +2,8 @@ import { waitSessionIdle, withSession } from "../actions"
|
|||
import { test, expect } from "../fixtures"
|
||||
import { bodyText } from "../prompt/mock"
|
||||
|
||||
const patchModel = { providerID: "openai", modelID: "gpt-5.4" } as const
|
||||
|
||||
const count = 14
|
||||
|
||||
function body(mark: string) {
|
||||
|
|
@ -55,6 +57,7 @@ async function patchWithMock(
|
|||
await sdk.session.prompt({
|
||||
sessionID,
|
||||
agent: "build",
|
||||
model: patchModel,
|
||||
system: [
|
||||
"You are seeding deterministic e2e UI state.",
|
||||
"Your only valid response is one apply_patch tool call.",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue