mirror of
https://github.com/langchain-ai/docs.git
synced 2026-07-19 16:33:35 -04:00
feat: document how to execute skill scripts in a sandbox (#3590)
This commit is contained in:
@@ -403,9 +403,15 @@ jobs:
|
||||
per_page: 100,
|
||||
});
|
||||
|
||||
const mdFiles = files.filter(f =>
|
||||
f.filename.endsWith('.mdx') || f.filename.endsWith('.md')
|
||||
);
|
||||
const mdFiles = files.filter(f => {
|
||||
const name = f.filename;
|
||||
if (!(name.endsWith('.mdx') || name.endsWith('.md'))) return false;
|
||||
const segments = name.split('/');
|
||||
if (segments.includes('code-samples') || segments.includes('snippets')) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
});
|
||||
|
||||
const ranked = [...mdFiles].sort((a, b) => {
|
||||
const score = (x) =>
|
||||
|
||||
@@ -109,6 +109,9 @@ jobs:
|
||||
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
|
||||
POSTGRES_URI: postgresql://postgres:postgres@127.0.0.1:5432/postgres?sslmode=disable
|
||||
TAVILY_API_KEY: ${{ secrets.TAVILY_API_KEY }}
|
||||
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
|
||||
DAYTONA_API_KEY: ${{ secrets.DAYTONA_API_KEY }}
|
||||
DAYTONA_API_URL: ${{ secrets.DAYTONA_API_URL }}
|
||||
run: |
|
||||
if [[ "${{ steps.files.outputs.run_all }}" == "true" ]]; then
|
||||
echo "Running all code samples..."
|
||||
|
||||
Reference in New Issue
Block a user