From c96164df3e86ca9422629ce936aef58e81dba0e7 Mon Sep 17 00:00:00 2001 From: orangetin <126978607+orangetin@users.noreply.github.com> Date: Thu, 27 Feb 2025 12:22:12 -0800 Subject: [PATCH 1/4] add "failed" as a valid type for state in endpoints list --- src/together/types/endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") From 1d49eadef6af97092283e4007d6b483313ae3ef3 Mon Sep 17 00:00:00 2001 From: orangetin <126978607+orangetin@users.noreply.github.com> Date: Thu, 27 Feb 2025 12:22:41 -0800 Subject: [PATCH 2/4] bump version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " ] From 37679b5e5392c8dd0d21ce3d1509cd8606f8934a Mon Sep 17 00:00:00 2001 From: orangetin <126978607+orangetin@users.noreply.github.com> Date: Wed, 5 Mar 2025 20:20:54 -0800 Subject: [PATCH 3/4] bump checkout version --- .github/workflows/upload-to-pypi.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: From 6916fb5932c12dc752ac05044c0607809575e055 Mon Sep 17 00:00:00 2001 From: orangetin <126978607+orangetin@users.noreply.github.com> Date: Wed, 5 Mar 2025 20:21:06 -0800 Subject: [PATCH 4/4] bump checkout version --- .github/workflows/check_code_quality.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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