Skip to Content
Anuma SDKClientInternalFunctionspostInternalComplete

postInternalComplete

postInternalComplete<ThrowOnError>(options: Options<PostInternalCompleteData, ThrowOnError>): RequestResult<PostInternalCompleteResponses, PostInternalCompleteErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:1778 

Create a chat completion (internal)

Internal service-to-service endpoint used by the nearby service to generate short completions without the user credit gate. Model is pinned server-side to an open-weights model and max_completion_tokens is clamped. Forwards raw to the gateway; no balance hold, settlement, or moderation — the caller must moderate output it displays. Non-streaming. Gated behind the shared X-Service-Key.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<PostInternalCompleteData, ThrowOnError>

Returns

RequestResult<PostInternalCompleteResponses, PostInternalCompleteErrors, ThrowOnError>

Last updated on