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

vocab mapper: pinecone env var is being loaded wrongly? #151

Open
josephjclark opened this issue Jan 24, 2025 · 2 comments
Open

vocab mapper: pinecone env var is being loaded wrongly? #151

josephjclark opened this issue Jan 24, 2025 · 2 comments

Comments

@josephjclark
Copy link
Collaborator

Not sure what this issue is or where it lives

In production, the pineone api key seems to be loading badly from the env. Somehow an extra line break is added after it.

I've checked the environment with Stu and the value looks correct (no trailing line break)

I'm not sure why the value being loaded into the mapper is corrupted? The code looks totally simple.

Working around this for now by passing the token directly.

@josephjclark
Copy link
Collaborator Author

In fact the same problem occurs when passing the key directly.

Is it something in the pinecone client?

@josephjclark
Copy link
Collaborator Author

95% sure this an issue with the deployment envs. I'll work with Stu on this on Monday

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant