mirror of
https://github.com/anomalyco/opencode-sdk-python.git
synced 2026-04-28 12:39:54 +00:00
feat(api): api update
This commit is contained in:
parent
4e7027e1d9
commit
1de4987d50
13 changed files with 139 additions and 104 deletions
|
|
@ -203,6 +203,7 @@ class TestSession:
|
|||
provider_id="providerID",
|
||||
message_id="msg",
|
||||
mode="mode",
|
||||
system="system",
|
||||
tools={"foo": True},
|
||||
)
|
||||
assert_matches_type(AssistantMessage, session, path=["response"])
|
||||
|
|
@ -776,6 +777,7 @@ class TestAsyncSession:
|
|||
provider_id="providerID",
|
||||
message_id="msg",
|
||||
mode="mode",
|
||||
system="system",
|
||||
tools={"foo": True},
|
||||
)
|
||||
assert_matches_type(AssistantMessage, session, path=["response"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue