Python: [BREAKING] update to v1.0.0 (#5062)

* updates to final deprecated pieces and versions

* fix mypy

* fix readme links
This commit is contained in:
Eduard van Valkenburg
2026-04-02 17:26:30 +02:00
committed by GitHub
Unverified
parent 5f06b68535
commit 3446eb8d5d
171 changed files with 2580 additions and 2392 deletions
@@ -50,11 +50,11 @@ class KeepLastUserTurnStrategy:
def _messages() -> list[Message]:
return [
Message(role="system", text="You are concise."),
Message(role="user", text="first request"),
Message(role="assistant", text="first response"),
Message(role="user", text="second request"),
Message(role="assistant", text="second response"),
Message(role="system", contents=["You are concise."]),
Message(role="user", contents=["first request"]),
Message(role="assistant", contents=["first response"]),
Message(role="user", contents=["second request"]),
Message(role="assistant", contents=["second response"]),
]