Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
zackproser opened this issue Jan 8, 2024 · 0 comments
Open
2 tasks done

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

zackproser opened this issue Jan 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@zackproser
Copy link
Contributor

zackproser commented Jan 8, 2024

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

@zackproser zackproser added the bug Something isn't working label Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant