Skip to content

Sessions hang on "working" when used with Anthropic subscription #5291

Description

@eyalroth

What happened?

I just started using pi.dev, and I also have a new Anthropic Enterprise subscription.
I noticed that from time to time, my sessions get stuck on "Working...", usually all at the same time.
Interrupt / stop and resume session sometimes work and sometimes not (have to wait more).

It didn't seem to me like an issue with any tool or extension, but rather hang on connectivity issues with Anthropic.
It might be API rate limiting (I don't have enough experience to say if that's the case).

Opus 4.8 tried to debug this and claimed that the issue is that there's no HTTP/stream timeout option for Anthropic SDK.

Steps to reproduce

Honestly not sure, other than using Anthropic.

Expected behavior

I would expect pi.dev to detect connectivity issue faster and either retry or fail loudly.

Version

0.78.0, Node v24.15.0, MacOS 26.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions