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

Failed with web_research #20

Open
InsolventCapital opened this issue Jan 31, 2025 · 1 comment
Open

Failed with web_research #20

InsolventCapital opened this issue Jan 31, 2025 · 1 comment

Comments

@InsolventCapital
Copy link

InsolventCapital commented Jan 31, 2025

Can you please elaborate on web_search? I got MissingAPIKeyError('No API key provided. Please provide the api_key attribute or set the TAVILY_API_KEY environment variable.'). Can I pass APi keys directly on the langgraph server using input? does the script uses os.getenv("TAVILY_API_KEY")?
please, assist me with it

nano ~/.zshrc

export PATH="/Library/Frameworks/Python.framework/Versions/3.12/bin/:$PATH"
export TAVILY_API_KEY="tvly-xxxx"
export PERPLEXITY_API_KEY="pplx-xxx"

. "$HOME/.local/bin/env"

I have also tried an echo command in .env
(.venv) xx@as-MacBook-Pro ollama-deep-researcher % echo $TAVILY_API_KEY
tvly-xxx

@rlancemartin
Copy link
Collaborator

I updated the README.

LMK if clear!

Try adding to .env file directly -

https://github.com/langchain-ai/ollama-deep-researcher/tree/main?tab=readme-ov-file#mac

It was probably an issue of you shell not being re-started, but .env may be less error-prone.

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

2 participants