Skip to content
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

fix: poe submit button selector #256

Merged
merged 1 commit into from
Oct 5, 2023
Merged

fix: poe submit button selector #256

merged 1 commit into from
Oct 5, 2023

Conversation

mwyywm
Copy link
Contributor

@mwyywm mwyywm commented Sep 29, 2023

Issue:
The handleSubmit function in the poe provider had an issue with the button selector, causing it to fail when submitting. This happens because the class names include a generated string at the end of them.

Solution:
Fixed the button selector by checking for a substring of a class excluding the generated string.

@swyxio
Copy link
Contributor

swyxio commented Oct 5, 2023

thank you!

@swyxio swyxio merged commit ca9c8c5 into smol-ai:main Oct 5, 2023
1 check failed
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.

None yet

2 participants