[v1.x] Support Python 3.14 (#2769)
This commit is contained in:
parent
62137874ff
commit
494eb11d36
1 changed files with 224 additions and 42 deletions
|
|
@ -410,11 +410,8 @@ async def test_create_message_tool_result_validation():
|
|||
|
||||
# Case 8: empty messages list - skips validation entirely
|
||||
# Covers the `if messages:` branch (line 280->302)
|
||||
with anyio.move_on_after(0.01):
|
||||
await session.create_message(
|
||||
messages=[],
|
||||
max_tokens=100,
|
||||
)
|
||||
with anyio.move_on_after(0.01): # pragma: no cover
|
||||
await session.create_message(messages=[], max_tokens=100)
|
||||
|
||||
|
||||
@pytest.mark.anyio
|
||||
|
|
|
|||
Loading…
Reference in a new issue