Enable streaming when response_format is set for gemini, openai, and … #2684
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Lint | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| workflow_dispatch: | |
| jobs: | |
| run-linter: | |
| timeout-minutes: 30 | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out the repository | |
| uses: actions/checkout@v6 | |
| - name: Install the latest version of uv and set the python version to 3.13 | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| python-version: 3.13 | |
| activate-environment: true | |
| - name: Install pre-commit | |
| run: uv sync --group lint --extra all | |
| - uses: actions/cache@v5 | |
| with: | |
| path: .mypy_cache | |
| key: ${{ runner.os }}-mypy-${{ hashFiles('pyproject.toml') }} | |
| restore-keys: | | |
| ${{ runner.os }}-mypy- | |
| - name: pre-commit | |
| run: uv run pre-commit run --all-files --verbose |