Skip to content

Commit a61fd0b

Browse files
committed
fix(codex): exclude project tiers from shared catalog
1 parent 36d4f74 commit a61fd0b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎apps/server/src/provider/Layers/CodexProvider.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,8 @@ const probeCodexAppServerProvider = Effect.fn("probeCodexAppServerProvider")(fun
476476
cwds: [input.cwd],
477477
}),
478478
requestAllCodexModels(client),
479-
client.request("config/read", { cwd: input.cwd, includeLayers: false }).pipe(
479+
// The shared catalog must exclude config from the server's launch project.
480+
client.request("config/read", { includeLayers: false }).pipe(
480481
Effect.map((response) => response.config.service_tier ?? undefined),
481482
Effect.timeoutOption(Duration.millis(CONFIG_PROBE_TIMEOUT_MS)),
482483
Effect.map(Option.getOrElse(() => null)),

0 commit comments

Comments
 (0)