From 793f64335c865c8bbe0bc84c9df918cab9ea3ea0 Mon Sep 17 00:00:00 2001 From: Alyssa Coghlan Date: Wed, 4 Jun 2025 01:48:50 +1000 Subject: [PATCH 1/2] Simplify typehint in tool use test case --- tests/test_inference.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_inference.py b/tests/test_inference.py index f6c6012..6e0646f 100644 --- a/tests/test_inference.py +++ b/tests/test_inference.py @@ -245,7 +245,7 @@ def _append_fragment(f: LlmPredictionFragment, round_index: int) -> None: assert cloned_chat._messages == chat._messages -def divide(numerator: float, denominator: float) -> float | str: +def divide(numerator: float, denominator: float) -> float: """Divide the given numerator by the given denominator. Return the result.""" return numerator / denominator From 7676bec6655f33b3fc048a4ec51c20fb907d1637 Mon Sep 17 00:00:00 2001 From: Alyssa Coghlan Date: Wed, 4 Jun 2025 02:19:42 +1000 Subject: [PATCH 2/2] Windows 2019 runners are going away --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3ab77c8..82fa228 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -42,7 +42,7 @@ jobs: matrix: python-version: ["3.10", "3.11", "3.12", "3.13"] # There's no platform specific SDK code, but explicitly check Windows anyway - os: [ubuntu-22.04, windows-2019] + os: [ubuntu-22.04, windows-2022] # Check https://github.com/actions/action-versions/tree/main/config/actions # for latest versions if the standard actions start emitting warnings