mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-20 15:44:44 +00:00
chore: generate
This commit is contained in:
@@ -91,5 +91,4 @@ export namespace AuthEffect {
|
|||||||
return Service.of({ get, all, set, remove })
|
return Service.of({ get, all, set, remove })
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -58,11 +58,7 @@ export namespace TruncateEffect {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
const output = Effect.fn("Truncate.output")(function* (
|
const output = Effect.fn("Truncate.output")(function* (text: string, options: Options = {}, agent?: Agent.Info) {
|
||||||
text: string,
|
|
||||||
options: Options = {},
|
|
||||||
agent?: Agent.Info,
|
|
||||||
) {
|
|
||||||
const maxLines = options.maxLines ?? MAX_LINES
|
const maxLines = options.maxLines ?? MAX_LINES
|
||||||
const maxBytes = options.maxBytes ?? MAX_BYTES
|
const maxBytes = options.maxBytes ?? MAX_BYTES
|
||||||
const direction = options.direction ?? "head"
|
const direction = options.direction ?? "head"
|
||||||
|
|||||||
@@ -112,7 +112,6 @@ describe("project.initGit endpoint", () => {
|
|||||||
vcs: "git",
|
vcs: "git",
|
||||||
worktree: tmp.path,
|
worktree: tmp.path,
|
||||||
})
|
})
|
||||||
|
|
||||||
} finally {
|
} finally {
|
||||||
await Instance.disposeAll()
|
await Instance.disposeAll()
|
||||||
reloadSpy.mockRestore()
|
reloadSpy.mockRestore()
|
||||||
|
|||||||
Reference in New Issue
Block a user