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
06577e9685
commit
e2e1f1d384
18 changed files with 205 additions and 18 deletions
|
|
@ -203,6 +203,7 @@ class TestSession:
|
|||
provider_id="providerID",
|
||||
message_id="msg",
|
||||
mode="mode",
|
||||
tools={"foo": True},
|
||||
)
|
||||
assert_matches_type(AssistantMessage, session, path=["response"])
|
||||
|
||||
|
|
@ -677,6 +678,7 @@ class TestAsyncSession:
|
|||
provider_id="providerID",
|
||||
message_id="msg",
|
||||
mode="mode",
|
||||
tools={"foo": True},
|
||||
)
|
||||
assert_matches_type(AssistantMessage, session, path=["response"])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue