Skip to content

Surface AI model configuration errors - #128

Open
JackTelford wants to merge 2 commits into
CrestApps:mainfrom
JackTelford:jt-ai-model-error-handling
Open

Surface AI model configuration errors#128
JackTelford wants to merge 2 commits into
CrestApps:mainfrom
JackTelford:jt-ai-model-error-handling

Conversation

@JackTelford

Copy link
Copy Markdown
Contributor

Before this change, if your AI model was configured with an unsupported parameter (like temperature set to 0 on a model
that only accepts 1), the chat would silently fail and only an administrator reading the logs would know why. Now the user
sees the actual reason directly in the chat for example: "The AI model rejected the request: 'temperature' does not
support 0 with this model."

Main branch response
MainbranchAiResponse

Handle error response
AiReponseFailedModel
AiReponsesMissingTop_P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant