Interface: KeyProbeAnswer
Defined in: packages/agentos/src/core/providers/keyProbe.ts:45
What one probe found.
Properties
error?
optionalerror:string
Defined in: packages/agentos/src/core/providers/keyProbe.ts:68
The error a failed connection threw, as text, with the probing key and any credentials in the base URL replaced
by [redacted]: fetch names the URL it refuses and quotes the header value it refuses.
failure?
optionalfailure:KeyProbeFailure
Defined in: packages/agentos/src/core/providers/keyProbe.ts:63
Why no answer decided the verdict: the timeout or the caller's abort (also when either ends the read of an error body or of a models list), a failed connection, or a models list with no model to send to.
message?
optionalmessage:string
Defined in: packages/agentos/src/core/providers/keyProbe.ts:54
The vendor's error message (error.message, else message), whitespace collapsed, the probing key replaced by
[key] wherever it appears, then cut to at most 300 characters.
model?
optionalmodel:string
Defined in: packages/agentos/src/core/providers/keyProbe.ts:56
The model the billable request went to; absent on an authenticated read.
retryAfterMs?
optionalretryAfterMs:number
Defined in: packages/agentos/src/core/providers/keyProbe.ts:58
The answer's Retry-After in milliseconds (bounded to one hour), when it sent one above zero.
status?
optionalstatus:number
Defined in: packages/agentos/src/core/providers/keyProbe.ts:49
The HTTP status of the answer that decided the verdict; absent when no answer came.
verdict
verdict:
KeyProbeResult
Defined in: packages/agentos/src/core/providers/keyProbe.ts:47
ok, the failure kind the answer still shows, or unknown (an answer the classifier does not read, or none).