Skip to content

Commit 3c17099

Browse files
ntindleclaude
andcommitted
docs(providers): note that the account/read timeout ends the wait, not the request
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 55d10c7 commit 3c17099

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/provider-muse/src/server/modelCatalog.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ export const probeMuseHost = Effect.fn("probeMuseHost")(function* (
147147
});
148148
// A host without the experimental surface leaves the account unknown, as before,
149149
// and so does one that never answers: the models found above must not wait on it.
150+
// The timeout ends the wait, not the request; the probe's host closes right after,
151+
// which drops a late answer.
150152
const account = yield* Effect.tryPromise(() => host.connection.request("account/read", {})).pipe(
151153
Effect.flatMap(decodeAccountState),
152154
Effect.timeout(2_000),

0 commit comments

Comments
 (0)