Skip to content

Add reasoning/thinking tokens support to traces #1733

Add reasoning/thinking tokens support to traces

Add reasoning/thinking tokens support to traces #1733

Workflow file for this run

name: Documentation
on:
push:
branches: [main]
paths:
- mkdocs.yml
- 'docs/**'
- 'src/**'
- 'scripts/hooks.py'
- 'pyproject.toml'
pull_request:
paths:
- mkdocs.yml
- 'docs/**'
- 'src/**'
- 'scripts/hooks.py'
- 'pyproject.toml'
workflow_dispatch:
jobs:
docs:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Install the latest version of uv and set the python version to 3.13
uses: astral-sh/setup-uv@v6
with:
python-version: 3.13
activate-environment: true
- name: Configure git
run: |
git config user.name 'github-actions[bot]'
git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Install requirements
run: |
uv sync --group docs
- name: Build docs
if: github.event_name == 'pull_request'
run: mkdocs build -s
- name: Publish docs
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
run: mkdocs gh-deploy