chore: generate

This commit is contained in:
opencode-agent[bot]
2026-06-29 19:58:09 +00:00
parent 0ebe74b625
commit 93a7b4ab76
2 changed files with 10 additions and 5 deletions
@@ -52,7 +52,10 @@ const workspaceLayer = (experimentalWorkspaces: boolean) =>
]), ]),
[ [
[RuntimeFlags.node, RuntimeFlags.layer({ experimentalWorkspaces })], [RuntimeFlags.node, RuntimeFlags.layer({ experimentalWorkspaces })],
[InstanceBootstrap.node, Layer.succeed(InstanceBootstrap.Service, InstanceBootstrap.Service.of({ run: Effect.void }))], [
InstanceBootstrap.node,
Layer.succeed(InstanceBootstrap.Service, InstanceBootstrap.Service.of({ run: Effect.void })),
],
], ],
) )
+4 -2
View File
@@ -73,10 +73,12 @@ const drainWith = (layer: Layer.Layer<LLM.Service>, input: LLM.StreamInput) =>
) )
}) })
function llmLayerWithExecutor(options: { function llmLayerWithExecutor(
options: {
executor?: Layer.Layer<RequestExecutor.Service> executor?: Layer.Layer<RequestExecutor.Service>
flags?: Partial<RuntimeFlags.Info> flags?: Partial<RuntimeFlags.Info>
} = {}) { } = {},
) {
return AppNodeBuilder.build(LLM.node, [ return AppNodeBuilder.build(LLM.node, [
[RuntimeFlags.node, RuntimeFlags.layer(options.flags)], [RuntimeFlags.node, RuntimeFlags.layer(options.flags)],
...(options.executor ? ([[LayerNodePlatform.requestExecutor, options.executor]] as const) : []), ...(options.executor ? ([[LayerNodePlatform.requestExecutor, options.executor]] as const) : []),