fix(core): await initial plugin readiness (#35755)

This commit is contained in:
Kit Langton
2026-07-08 15:12:45 -04:00
committed by GitHub
parent f7eb76c600
commit 2a8ac09d36
13 changed files with 484 additions and 84 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ export const ModelHandler = HttpApiBuilder.group(Api, "server.model", (handlers)
"model.default",
Effect.fn(function* () {
const plugins = yield* PluginSupervisor.Service
yield* plugins.ready.pipe(
yield* plugins.flush.pipe(
Effect.timeoutOrElse({
duration: "5 seconds",
orElse: () =>