anthropic.internal._request
(internal) The shared request builder: identical body for both paths, plus the `stream: true` flag on the streaming one.
Reference version
Signature
function anthropic.internal._request(
) -> baml.http.Request throws baml.errors.InvalidArgument | baml.errors.Io | baml.errors.ParseError | baml.errors.Timeout | baml.json.SerializationError | ai.errors.InvalidRequest | ai.errors.NetworkFailure | ai.errors.PreviewUnsupported | ai.errors.PromptRenderError
(internal) The shared request builder: identical body for both paths, plus the
stream: true flag on the streaming one.
Source:<builtin>/anthropic/ns_internal/messages.bamlbytes 30865–31325