Skip to content

Agent mode does not work when connections to server.trypear.ai are blocked #265

Open
@devdev999

Description

@devdev999

Describe the bug

I have installed the IDE on a windows environment, in a fully offline setup with no connection to Internet.
I am using it to connect to a local OpenAI compatible model for agent mode, so I do not need any online connection to any models.

When connections to server.trypear.ai are blocked, agent mode is unable to proceed after sending a message. The text box is greyed out/disabled like after sending a message normally, but the API calls to the model do not happen, and it stays like this indefinitely.

When connection is restored, agent mode is able to proceed normally.

How to reproduce

Install PearAI IDE on windows.
Block connection to server.trypear.ai using any means (for example, editing hosts file at C:\Windows\System32\drivers\etc with this additional line 127.0.0.1 server.trypear.ai)

Expected behavior

Agent mode should still work in a fully offline environment without connection to any trypear domains

Screenshots

Image

Additional information

  • Version of the extension impacted: latest windows version, 1.8.7

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions