Skip to content

Commit 414a75f

Browse files
authored
Simplify typehint in tool use test case (#95)
Also updated the Windows test target, as Windows 2019 runners are going away
1 parent 7f7c88a commit 414a75f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
matrix:
4343
python-version: ["3.10", "3.11", "3.12", "3.13"]
4444
# There's no platform specific SDK code, but explicitly check Windows anyway
45-
os: [ubuntu-22.04, windows-2019]
45+
os: [ubuntu-22.04, windows-2022]
4646

4747
# Check https://github.com/actions/action-versions/tree/main/config/actions
4848
# for latest versions if the standard actions start emitting warnings

tests/test_inference.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def _append_fragment(f: LlmPredictionFragment, round_index: int) -> None:
245245
assert cloned_chat._messages == chat._messages
246246

247247

248-
def divide(numerator: float, denominator: float) -> float | str:
248+
def divide(numerator: float, denominator: float) -> float:
249249
"""Divide the given numerator by the given denominator. Return the result."""
250250
return numerator / denominator
251251

0 commit comments

Comments
 (0)