feat: Added new max_tokens_limit values and model_names in _openai_text_completion_tokenization_details function in openai_utils.py #5000
This file contains 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: Dependency checker | |
on: | |
push: | |
branches: | |
- main | |
# release branches have the form v1.9.x | |
- 'v[0-9].*[0-9].x' | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- ready_for_review | |
paths: | |
- "**.py" | |
- "pyproject.toml" | |
- "!.github/**/*.py" | |
- "!rest_api/**/*.py" | |
- "!test/*" | |
env: | |
PYTHON_VERSION: "3.8" | |
jobs: | |
base-install: | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
- windows-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ env.PYTHON_VERSION }} | |
- name: Install Haystack with no extras | |
run: pip install . | |
- name: Import Haystack | |
run: python -c 'import haystack' |