Skip to content

Conversation

@Light2Dark
Copy link
Contributor

@Light2Dark Light2Dark commented Oct 3, 2025

📝 Summary

Fixes #6656 . Input wasn't being reset when a prompt was submitted, this calls codemirror to immediately reset the input on submit.

There was also a zod error when calling get_chat_history, this fixes it.

🔍 Description of Changes

📋 Checklist

  • I have read the contributor guidelines.
  • For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions (Please provide a link if applicable).
  • I have added tests for the changes made.
  • I have run the code and verified that it works as expected.

@Light2Dark Light2Dark requested a review from manzt as a code owner October 3, 2025 08:27
@vercel
Copy link

vercel bot commented Oct 3, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
marimo-docs Ready Ready Preview Comment Oct 3, 2025 3:42pm

mscolnick
mscolnick previously approved these changes Oct 3, 2025
@mscolnick mscolnick merged commit 5789c10 into main Oct 3, 2025
25 checks passed
@mscolnick mscolnick deleted the sham/clear-input-immediately-on-submit branch October 3, 2025 17:03
@dmadisetti dmadisetti added the enhancement New feature or request label Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

mo.ui.chat and mo.ai.chat doesn't clear user input on submit

4 participants