Loading...
Skip to main content

Enumeration: ErrorCode

core/errors.ErrorCode

Enumeration Members

AIJSXEndpointFailed

AIJSXEndpointFailed = 1013

Defined in

ai-jsx/src/core/errors.ts:18


AIJSXEndpointHadEmptyResponse

AIJSXEndpointHadEmptyResponse = 1014

Defined in

ai-jsx/src/core/errors.ts:19


AnthropicAPIError

AnthropicAPIError = 1021

Defined in

ai-jsx/src/core/errors.ts:26


AnthropicDoesNotSupportCompletionModels

AnthropicDoesNotSupportCompletionModels = 1018

Defined in

ai-jsx/src/core/errors.ts:23


AnthropicDoesNotSupportFunctions

AnthropicDoesNotSupportFunctions = 1020

Defined in

ai-jsx/src/core/errors.ts:25


AnthropicDoesNotSupportSystemMessage

AnthropicDoesNotSupportSystemMessage = 1019

Defined in

ai-jsx/src/core/errors.ts:24


ChatCompletionBadInput

ChatCompletionBadInput = 1023

Defined in

ai-jsx/src/core/errors.ts:29


ChatCompletionInvalidInput

ChatCompletionInvalidInput = 1031

Defined in

ai-jsx/src/core/errors.ts:39


ChatCompletionMissingChildren

ChatCompletionMissingChildren = 1009

Defined in

ai-jsx/src/core/errors.ts:14


ChatCompletionUnexpectedChild

ChatCompletionUnexpectedChild = 1010

Defined in

ai-jsx/src/core/errors.ts:15


ChatModelDoesNotSupportFunctions

ChatModelDoesNotSupportFunctions = 1022

Defined in

ai-jsx/src/core/errors.ts:28


CohereAPIError

CohereAPIError = 1033

Defined in

ai-jsx/src/core/errors.ts:43


ConversationHistoryComponentRequiresContext

ConversationHistoryComponentRequiresContext = 2007

Defined in

ai-jsx/src/core/errors.ts:56


CorpusNotReady

CorpusNotReady = 2003

Defined in

ai-jsx/src/core/errors.ts:50


FixieStatusNotOk

FixieStatusNotOk = 2004

Defined in

ai-jsx/src/core/errors.ts:51


GeneratorCannotBeUsedAsIterableAfterAwaiting

GeneratorCannotBeUsedAsIterableAfterAwaiting = 1006

Defined in

ai-jsx/src/core/errors.ts:11


GeneratorCannotBeUsedTwice

GeneratorCannotBeUsedTwice = 1005

Defined in

ai-jsx/src/core/errors.ts:10


GeneratorMustBeExhausted

GeneratorMustBeExhausted = 1004

Defined in

ai-jsx/src/core/errors.ts:9


ImageBadDimensions

ImageBadDimensions = 1011

Defined in

ai-jsx/src/core/errors.ts:16


Llama2DoesNotSupportAssistantMessages

Llama2DoesNotSupportAssistantMessages = 1026

Defined in

ai-jsx/src/core/errors.ts:33


Llama2DoesNotSupportFunctionCalls

Llama2DoesNotSupportFunctionCalls = 1027

Defined in

ai-jsx/src/core/errors.ts:34


Llama2DoesNotSupportFunctionResponse

Llama2DoesNotSupportFunctionResponse = 1028

Defined in

ai-jsx/src/core/errors.ts:35


Llama2DoesNotSupportFunctions

Llama2DoesNotSupportFunctions = 1024

Defined in

ai-jsx/src/core/errors.ts:31


Llama2DoesNotSupportMultipleSystemMessages

Llama2DoesNotSupportMultipleSystemMessages = 1029

Defined in

ai-jsx/src/core/errors.ts:36


Llama2DoesNotSupportMultipleUserMessages

Llama2DoesNotSupportMultipleUserMessages = 1025

Defined in

ai-jsx/src/core/errors.ts:32


LogitBiasBadInput

LogitBiasBadInput = 1008

Defined in

ai-jsx/src/core/errors.ts:13


MissingChatModel

MissingChatModel = 1001

Defined in

ai-jsx/src/core/errors.ts:6


MissingCompletionModel

MissingCompletionModel = 1000

Defined in

ai-jsx/src/core/errors.ts:5


MissingFixieAPIKey

MissingFixieAPIKey = 2002

Defined in

ai-jsx/src/core/errors.ts:49


MissingImageModel

MissingImageModel = 1002

Defined in

ai-jsx/src/core/errors.ts:7


MissingRerankerModel

MissingRerankerModel = 1034

Defined in

ai-jsx/src/core/errors.ts:44


ModelHallucinatedTool

ModelHallucinatedTool = 2006

Defined in

ai-jsx/src/core/errors.ts:54


ModelOutputCouldNotBeParsedForTool

ModelOutputCouldNotBeParsedForTool = 2005

Defined in

ai-jsx/src/core/errors.ts:53


ModelOutputDidNotMatchConstraint

ModelOutputDidNotMatchConstraint = 2000

Defined in

ai-jsx/src/core/errors.ts:46


ModelOutputDidNotMatchUIShape

ModelOutputDidNotMatchUIShape = 1012

Defined in

ai-jsx/src/core/errors.ts:17


NestedAIUIStreamsAreNotSupported

NestedAIUIStreamsAreNotSupported = 1015

Defined in

ai-jsx/src/core/errors.ts:20


OpenAIAPIError

OpenAIAPIError = 1032

Defined in

ai-jsx/src/core/errors.ts:41


UnexpectedPartialRenderResult

UnexpectedPartialRenderResult = 1030

Defined in

ai-jsx/src/core/errors.ts:38


UnexpectedRenderType

UnexpectedRenderType = 1007

Defined in

ai-jsx/src/core/errors.ts:12


UnknownSerializedComponentType

UnknownSerializedComponentType = 1017

Defined in

ai-jsx/src/core/errors.ts:22


UnknownUIComponentId

UnknownUIComponentId = 1016

Defined in

ai-jsx/src/core/errors.ts:21


UnrenderableType

UnrenderableType = 1003

Defined in

ai-jsx/src/core/errors.ts:8


UnsupportedMimeType

UnsupportedMimeType = 2001

Defined in

ai-jsx/src/core/errors.ts:48