mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-09-12 20:57:52 +02:00
ci: fix notebook runner & VCR cassette recorder (#1849)
Co-authored-by: vbarda <vadym@langchain.dev>
This commit is contained in:
co-authored by
vbarda
parent
ea0418334b
commit
98f5df4f6f
@@ -28,15 +28,14 @@ jobs:
|
||||
run: |
|
||||
poetry install --with test
|
||||
poetry run pip install jupyter
|
||||
if [ "${{ matrix.lib-version }}" = "latest" ]; then
|
||||
poetry add chromadb pandas langchain_nomic
|
||||
poetry remove langchain-openai langchain-anthropic langchain-community
|
||||
poetry add langchain-openai@latest langchain-anthropic@latest langchain-community@latest
|
||||
fi
|
||||
|
||||
- name: Start services
|
||||
run: make start-services
|
||||
|
||||
- name: Pre-download tiktoken files
|
||||
run: |
|
||||
poetry run python docs/_scripts/download_tiktoken.py
|
||||
|
||||
- name: Prepare notebooks
|
||||
run: |
|
||||
if [ "${{ matrix.lib-version }}" = "development" ]; then
|
||||
@@ -54,6 +53,8 @@ jobs:
|
||||
TAVILY_API_KEY: ${{ secrets.TAVILY_API_KEY }}
|
||||
LANGSMITH_API_KEY: ${{ secrets.LANGSMITH_API_KEY }}
|
||||
NOMIC_API_KEY: ${{ secrets.NOMIC_API_KEY }}
|
||||
COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }}
|
||||
FIREWORKS_API_KEY: ${{ secrets.FIREWORKS_API_KEY }}
|
||||
run: |
|
||||
./docs/_scripts/execute_notebooks.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user