From 7a8d5ea1d40ac194ebc841908560345bc6b17170 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Thu, 16 Jan 2025 09:11:13 +0200 Subject: [PATCH 1/2] Make tests actually run on `main` (and don't ignore example/readme changes) --- .github/workflows/test.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 19c3fdc1..0b772396 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -1,10 +1,10 @@ name: test on: + push: + branches: + - main pull_request: - paths-ignore: - - 'examples/**' - - '**/README.md' jobs: test: From 09c527237dba0e0b70e901a4a6934c8d9b9428f4 Mon Sep 17 00:00:00 2001 From: Aarni Koskela Date: Thu, 16 Jan 2025 09:14:23 +0200 Subject: [PATCH 2/2] Run ruff-format so CI doesn't complain --- examples/create.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/create.py b/examples/create.py index dfc9094f..14967a98 100755 --- a/examples/create.py +++ b/examples/create.py @@ -2,9 +2,9 @@ client = Client() response = client.create( - model='my-assistant', - from_='llama3.2', - system="You are mario from Super Mario Bros.", - stream=False + model='my-assistant', + from_='llama3.2', + system='You are mario from Super Mario Bros.', + stream=False, ) print(response.status)