Skip to content

[Bug] Maximum update depth exceeded Error when run locally #36

@zackproser

Description

@zackproser

Is this a new bug?

  • I believe this is a new bug
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

When running locally, after setting all required environment variables and choosing to embed / upsert the Malaysian Deforestation link, the app workflow proceeds as expected, and I get the expected RAG and Non-RAG output, but I also get the following error:

Error: 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.

pinecone-vercel-starter-local-error

pinecone-vercel-starter-local-error-text

Expected Behavior

The example should run end to end without issues.

Steps To Reproduce

  1. Clone repository locally and cd into it
  2. npm i
  3. Set PINECONE_API_KEY, PINECONE_ENVIRONMENT, PINECONE_INDEX and OPENAI_API_KEY environment variables
  4. npm run dev

Relevant log output

No response

Environment

- **OS**:
- **Language version**:
- **Pinecone client version**:

Additional Context

No response

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