diff --git a/.github/workflows/check_code_quality.yml b/.github/workflows/check_code_quality.yml index 8983e570..84ccb06c 100644 --- a/.github/workflows/check_code_quality.yml +++ b/.github/workflows/check_code_quality.yml @@ -20,6 +20,6 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: pre-commit/action@v3.0.1 diff --git a/.github/workflows/upload-to-pypi.yml b/.github/workflows/upload-to-pypi.yml index 45485ce7..5e75512b 100644 --- a/.github/workflows/upload-to-pypi.yml +++ b/.github/workflows/upload-to-pypi.yml @@ -12,7 +12,7 @@ jobs: python-version: ["3.10"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v2.2.2 with: diff --git a/pyproject.toml b/pyproject.toml index a0e9fc62..a77fb7f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ build-backend = "poetry.masonry.api" [tool.poetry] name = "together" -version = "1.4.1" +version = "1.4.2" authors = [ "Together AI " ] diff --git a/src/together/types/endpoints.py b/src/together/types/endpoints.py index 22ab1934..3f52831a 100644 --- a/src/together/types/endpoints.py +++ b/src/together/types/endpoints.py @@ -86,7 +86,7 @@ class BaseEndpoint(TogetherJSONModel): model: str = Field(description="The model deployed on this endpoint") type: str = Field(description="The type of endpoint") owner: str = Field(description="The owner of this endpoint") - state: Literal["PENDING", "STARTING", "STARTED", "STOPPING", "STOPPED", "ERROR"] = ( + state: Literal["PENDING", "STARTING", "STARTED", "STOPPING", "STOPPED", "FAILED", "ERROR"] = ( Field(description="Current state of the endpoint") ) created_at: datetime = Field(description="Timestamp when the endpoint was created")