-
Notifications
You must be signed in to change notification settings - Fork 3.4k
fix(openai): allow open_page action type url to be nullish #10646
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
lgrammel
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs changeset
| <span className="font-semibold">In URL:</span>{' '} | ||
| <a | ||
| href={output.action.url} | ||
| href={output.action.url ?? undefined} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this does not make sense
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm might as well remove the span that tries to access the openPage url
Background
OAI sometimes doesn't render the
urlparam for theopen_pageaction type, leading to validation errors.Summary
Set the parameter to
.nullish()Manual Verification
Checklist
pnpm changesetin the project root)Related Issues
Fixes #9308 and #10669