Skip to content

Commit dc598a3

Browse files
authored
Merge branch 'langchain-ai:main' into main
2 parents df97716 + cc95b41 commit dc598a3

File tree

69 files changed

+2855
-878
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+2855
-878
lines changed

β€Ž.deepagents/skills/docs-code-samples/SKILL.mdβ€Ž

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ src/
5151
└── ...
5252
```
5353

54+
**Multiple snippets in one file**: A single code sample file can contain multiple named snippets using different `:snippet-start: snippet-name` and `:snippet-end:` pairs. Each snippet must have a unique name. This is useful for keeping related code samples together in one testable file.
55+
5456
## Step-by-step instructions
5557

5658
### 1. Create the code sample file

β€Ž.github/vale/styles/LangChain/Terminology.ymlβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,4 @@ swap:
1212
# Match "url" in prose only: not at line start, not in backticks/quotes (identifiers/keys), not in param lists (", url")
1313
'(?<=[^\n])(?<![`", ])\burl\b(?![`"])': URL
1414
URLs: URLs
15-
Deep agents: Deep Agents
1615
DeepAgents: Deep Agents

β€Ž.github/workflows/test-code-samples.ymlβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ jobs:
108108
env:
109109
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
110110
POSTGRES_URI: postgresql://postgres:postgres@127.0.0.1:5432/postgres?sslmode=disable
111+
TAVILY_API_KEY: ${{ secrets.TAVILY_API_KEY }}
111112
run: |
112113
if [[ "${{ steps.files.outputs.run_all }}" == "true" ]]; then
113114
echo "Running all code samples..."

0 commit comments

Comments
Β (0)