refactor(schema): session shell payloads and event prefix restore (#35229)
This commit is contained in:
parent
64e4f6f91b
commit
650d774372
49 changed files with 1521 additions and 1200 deletions
|
|
@ -271,7 +271,7 @@ describe("tool.apply_patch freeform", () => {
|
|||
|
||||
yield* execute({ patchText }, ctx)
|
||||
|
||||
const moved = path.join(test.directory, "renamed", "dir", "name.txt")
|
||||
const moved = path.join(test.directory, "session.renamed", "dir", "name.txt")
|
||||
yield* expectReadFailure(original)
|
||||
expect(yield* readText(moved)).toBe("new content\n")
|
||||
}),
|
||||
|
|
@ -282,7 +282,7 @@ describe("tool.apply_patch freeform", () => {
|
|||
const test = yield* TestInstance
|
||||
const { ctx } = makeCtx()
|
||||
const original = path.join(test.directory, "old", "name.txt")
|
||||
const destination = path.join(test.directory, "renamed", "dir", "name.txt")
|
||||
const destination = path.join(test.directory, "session.renamed", "dir", "name.txt")
|
||||
yield* makeDir(path.dirname(original))
|
||||
yield* makeDir(path.dirname(destination))
|
||||
yield* writeText(original, "from\n")
|
||||
|
|
|
|||
|
|
@ -79593,8 +79593,8 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"synthetic": {
|
||||
"id": "synthetic",
|
||||
"session.synthetic": {
|
||||
"id": "session.synthetic",
|
||||
"env": ["SYNTHETIC_API_KEY"],
|
||||
"npm": "@ai-sdk/openai-compatible",
|
||||
"api": "https://api.synthetic.new/openai/v1",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue