The contract surface of @oshun/contracts/llm, enumerated from its exports — every module linked to source.
client (5)#
IsisLLMClientLLMModelDescriptorLLMModelDescriptorSchemaLLMProviderStatusLLMProviderStatusSchemaerrors (23)#
LLMAuthenticationErrorLLMCancelledErrorLLMCircuitBreakerOpenErrorLLMContextLengthExceededErrorLLMErrorLLMErrorCodeLLMErrorCodeSchemaLLMErrorOptionsLLMErrorRecordLLMErrorRecordSchemaLLMInvalidRequestErrorLLMNetworkErrorLLMProviderErrorLLMProviderUnavailableErrorLLMQuotaErrorLLMQuotaExceededErrorLLMRateLimitErrorLLMSafetyBlockErrorLLMSafetyFilterErrorLLMStructuredOutputValidationErrorLLMTimeoutErrorLLMToolValidationErrorLLMValidationErrormessages (18)#
LLMAudioPartLLMAudioPartSchemaLLMContentPartLLMContentPartSchemaLLMFilePartLLMFilePartSchemaLLMImagePartLLMImagePartSchemaLLMMessageLLMMessageRoleLLMMessageRoleSchemaLLMMessageSchemaLLMTextPartLLMTextPartSchemaLLMToolResultPartLLMToolResultPartSchemaLLMToolUsePartLLMToolUsePartSchemaprimitives (38)#
LLMCapabilityLLMCapabilitySchemaLLMConversationIdLLMConversationIdSchemaLLMCostLLMCostSchemaLLMCurrencyLLMCurrencySchemaLLMFinishReasonLLMFinishReasonSchemaLLMIdempotencyKeyLLMIdempotencyKeySchemaLLMModelPricingLLMModelPricingSchemaLLMPriceMicrocentsPer1kTokensLLMPriceMicrocentsPer1kTokensSchemaLLMProviderLLMProviderSchemaLLMQuotaSnapshotLLMQuotaSnapshotSchemaLLMQuotaSpecLLMQuotaSpecSchemaLLMRequestIdLLMRequestIdSchemaLLMSpanIdLLMSpanIdSchemaLLMTenantIdLLMTenantIdSchemaLLMTokenUsageLLMTokenUsageSchemaLLMTraceIdLLMTraceIdSchemaLLMUserIdLLMUserIdSchemacentsPer1kToMicrocentscomputeRequestMicrocentsmicrocentsToUsdPer1kusdPer1kToMicrocentsrequest (10)#
LLMCachePolicyLLMCachePolicySchemaLLMFailoverPolicyLLMFailoverPolicySchemaLLMRequestLLMRequestSchemaLLMRetryPolicyLLMRetryPolicySchemaLLMSamplingParamsLLMSamplingParamsSchemaresponse (6)#
LLMAttemptTraceLLMAttemptTraceSchemaLLMResponseLLMResponseChoiceLLMResponseChoiceSchemaLLMResponseSchemastream (17)#
LLMStreamDoneEventLLMStreamDoneEventSchemaLLMStreamErrorEventLLMStreamErrorEventSchemaLLMStreamEventLLMStreamEventSchemaLLMStreamStartEventLLMStreamStartEventSchemaLLMStreamTextDeltaEventLLMStreamTextDeltaEventSchemaLLMStreamToolInputDeltaEventLLMStreamToolInputDeltaEventSchemaLLMStreamToolUseStartEventLLMStreamToolUseStartEventSchemaLLMStreamUsageEventLLMStreamUsageEventSchemaserialiseLLMStreamEventtools (8)#
LLMJsonSchemaLLMJsonSchemaSchemaLLMStructuredOutputSpecLLMStructuredOutputSpecSchemaLLMToolChoiceLLMToolChoiceSchemaLLMToolDefinitionLLMToolDefinitionSchema