Skip to content

Conversation

rgwood-dd
Copy link
Contributor

@rgwood-dd rgwood-dd commented Jun 6, 2025

I noticed that /clear wasn't fully clearing chat history; it would clear the chat history widgets in the UI, but the LLM still had access to information from previous messages.

This PR updates /clear to fix that.

This PR renames /clear to /new for clarity as per Michael's suggestion, resetting app_state to a fresh ChatWidget.

@rgwood-dd rgwood-dd marked this pull request as draft June 6, 2025 22:51
@rgwood-dd
Copy link
Contributor Author

Converting to draft while I address feedback from Michael.

@rgwood-dd rgwood-dd changed the title codex-rs: Fix /clear command, make it clear message history codex-rs: Rename /clear to /net command, make it start an entirely new chat Jun 6, 2025
@rgwood-dd rgwood-dd changed the title codex-rs: Rename /clear to /net command, make it start an entirely new chat codex-rs: Rename /clear to /new, make it start an entirely new chat Jun 6, 2025
@rgwood-dd
Copy link
Contributor Author

Feedback addressed.

@rgwood-dd rgwood-dd marked this pull request as ready for review June 6, 2025 23:06
@bolinfest bolinfest merged commit 345a385 into openai:main Jun 6, 2025
11 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jun 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants