Skip to content

React Error: Maximum update depth exceeded. #55

@jacob-israel-turner

Description

@jacob-israel-turner

Whenever a response begins streaming from the agent (AFTER thinking has concluded), I always get this error in my console:

Image

It is a reference to this issue:

Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.

For what it's worth, I don't believe I saw this error at all while prototyping yesterday. It looks like it's originating in the CDN script:

Image

As far as I can tell, this isn't causing any functionality issues - unless it's related to the issue I'm seeing in #54. Happy to provide additional details if helpful.

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