Skip to content

fix(desktop): Clear stale chat notices#608

Merged
kotevcode merged 1 commit into
mainfrom
fix/desktop-scoped-payment-errors
May 27, 2026
Merged

fix(desktop): Clear stale chat notices#608
kotevcode merged 1 commit into
mainfrom
fix/desktop-scoped-payment-errors

Conversation

@kotevcode
Copy link
Copy Markdown
Contributor

@kotevcode kotevcode commented May 26, 2026

Description

Clears transient desktop chat notices whenever the user changes conversations or switches the selected model. This keeps paid-service payment_required messages and other chat errors from sticking around after the context changes.

This intentionally uses the simpler behavior: errors/payment requests are dismissed on conversation/model change rather than restored per prior conversation.

Release Notes

  • Fixed payment-required messages and payment cards sticking around after switching chats or models.
  • Fixed stale chat error messages remaining visible after moving to a different conversation.

Types of Changes

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Chore (maintenance tasks, refactoring, or non-functional changes)

Checklist

  • My code follows the code style of this project
  • I have added the necessary documentation (if appropriate)
  • I have added tests (if appropriate)
  • Lint and unit tests pass locally with my changes

Verification

  • pnpm --filter @antseed/desktop run typecheck:renderer
  • pnpm exec tsx --test apps/desktop/src/renderer/modules/chat.peer-routing.test.ts
  • pnpm --filter @antseed/desktop run build:renderer

@kotevcode kotevcode force-pushed the fix/desktop-scoped-payment-errors branch from 3a867c4 to 7e3eb9e Compare May 26, 2026 08:37
@kotevcode kotevcode changed the title fix(desktop): Scope chat payment errors fix(desktop): Clear stale chat notices May 26, 2026
@kotevcode kotevcode force-pushed the fix/desktop-scoped-payment-errors branch from 7e3eb9e to 56ce677 Compare May 26, 2026 18:17
@kotevcode kotevcode merged commit 7426693 into main May 27, 2026
3 checks passed
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