Skip to content

Warn users when they are breaking the cache #319750

Closed as duplicate
Closed as duplicate

Description

We need to warn users when they are breaking the cache:

  • If they swtich a model in a long agentic turn (context used > 50%)
  • They come back to a session after 1h for Anthropic, 24h for OpenAI

We could use our tips UI to show this warning.

Bhavya - starting with you, but feel free to assign back to me.

This is important so we educate our users on how to get more out of their copilot usage.

fyi Courtney Webster (@cwebster-99)

Activity

  1. isidorn commented on Jun 5, 2026

    @isidorn
    Author

    Also warn users when they change reasoning mid conversation (it breaks the cache)

  2. bhavyaus commented on Jun 8, 2026

    @bhavyaus
    Collaborator

    Sounds good! Should we leverage the widget on top of the input to show this?

  3. isidorn commented on Jun 8, 2026

    @isidorn
    Author

    I think that's a good start!

  4. cwebster-99 commented on Jun 9, 2026

    @cwebster-99
    Member

    We discussed this a bit in our UBB sync, sharing some notes below:

    Do we have concrete data on the highest causes of cache breaks? I imagine it is timeouts but curious what common pitfalls we should prioritize.

    We could start with what Isidor Nikolic (@isidorn) pointed out above:

    • model change
    • reasoning effort
    • timeout

    And even add data for cases when cache is broken but we may not know exactly why.

    It would be ideal if we can proactively warn users rather than retroactively tell the user they broke their cache for things like model change and reasoning effort so they have info to consider if it is worth it. Perhaps model and reasoning effort warnings can live in the dropdowns for these?

    Elijah King (@eli-w-king) in case there is a different design direction you would recommend.

  5. bhavyaus commented on Jun 9, 2026

    @bhavyaus
    Collaborator

    We could start with what Isidor Nikolic (@isidorn) pointed out above:
    model change
    reasoning effort
    timeout

    We can start here and should be easy easy to add.

  6. isidorn commented on Jun 10, 2026

    @isidorn
    Author

    Do we have concrete data on the highest causes of cache breaks?

    kevin-m-kent might know

  7. eli-w-king commented on Jun 12, 2026

    @eli-w-king
    Contributor

    Perhaps instead of warning users after taking an action that would cause the cache to break, we warn them beforehand. This is applicable to model change and reasoning effort, but I do agree with this direction for timeout.

    Proposed design:

    06.09.Cache.and.Cost.Warning.Banner.mov
  8. bhavyaus commented on Jun 20, 2026

    @bhavyaus
    Collaborator

    I agree with Elijah King (@eli-w-king) that we should warn users before they take this action. From the screenshot, the warnings don't feel strong enough. The information reads like an "info" notice rather than a warning or error. Could we use something like yellow to draw more attention to the issue?

  9. cwebster-99 commented on Jun 22, 2026

    @cwebster-99
    Member

    From the screenshot, the warnings don't feel strong enough. The information reads like an "info" notice rather than a warning

    Agree here especially as we show info regarding non-default options so users may, at first glance, think it is the same message. I would opt for a yellow coloring and maybe a warning rather than info icon.

  10. added
    under-discussion
    on Jun 22, 2026
  11. cwebster-99 commented on Jun 24, 2026

    @cwebster-99
    Member

    Edit: talked with Elijah King (@eli-w-king) and we decided against this approach.

    As an alternative design, I saw the GH app will print model changes to the session history. We could do something similar and attach a warning about how this impacts cache. This makes it a little more bit obvious whereas the notifications in the picker itself might be ignored or assumed it is the regular warning

    Image

  12. cwebster-99 commented on Jul 7, 2026

    @cwebster-99
    Member

    Closing this in favor of the individual issues we have: #323207

  13. locked and limited conversation to collaborators on Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

UBBunder-discussion

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions