Skip to content

feat(bedrock-converse): Set context window size to 1M for Opus 4.6 & … #2

feat(bedrock-converse): Set context window size to 1M for Opus 4.6 & …

feat(bedrock-converse): Set context window size to 1M for Opus 4.6 & … #2

Workflow file for this run

name: Sync Docs to Developer Hub
on:
push:
branches: [main]
paths:
- "docs/**"
- "llama-index-core/**"
- "llama-index-integrations/**"
# Allow manual trigger (with option to skip API docs for faster iteration)
workflow_dispatch:
inputs:
skip_api_docs:
description: "Skip API docs build (faster, only syncs markdown)"
type: boolean
default: false
jobs:
sync-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout source repo (llama_index)
uses: actions/checkout@v4
- name: Checkout docs repo (developer hub)
uses: actions/checkout@v4
with:
repository: run-llama/developers
token: ${{ secrets.DEVELOPER_HUB_TOKEN }}
path: developer-hub
- name: Install uv
uses: astral-sh/setup-uv@v4
- name: Set up Python
run: uv python install
- name: Install dependencies
run: uv sync
- name: Sync docs
run: |
ARGS="developer-hub"
if [ "${{ inputs.skip_api_docs }}" = "true" ]; then
ARGS="$ARGS --skip-api-docs"
fi
./scripts/sync-docs-to-developer-hub.sh $ARGS
- name: Commit and push
working-directory: developer-hub
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
# Check if there are changes
if git diff --quiet && git diff --staged --quiet; then
echo "No docs changes to sync."
exit 0
fi
SOURCE_SHA="${GITHUB_SHA::8}"
git add src/content/docs/python/framework/
git add public/python/framework-api-reference/
git commit -m "sync: python docs from run-llama/llama_index@${SOURCE_SHA}"
git push