chore: update stainless defs

This commit is contained in:
adamdotdevin
2025-07-15 10:03:11 -05:00
parent 2487b18f62
commit 6b98acb7be
8 changed files with 101 additions and 121 deletions

View File

@@ -23,13 +23,10 @@ func TestUsage(t *testing.T) {
client := opencode.NewClient(
option.WithBaseURL(baseURL),
)
stream := client.Event.ListStreaming(context.TODO())
for stream.Next() {
t.Logf("%+v\n", stream.Current())
}
err := stream.Err()
sessions, err := client.Session.List(context.TODO())
if err != nil {
t.Error(err)
return
}
t.Logf("%+v\n", sessions)
}