mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-29 21:19:48 +00:00
ignore: python sdk (#2779)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This commit is contained in:
parent
fc8db6cdf9
commit
0e60f66604
229 changed files with 22322 additions and 8 deletions
4
packages/sdk/python/examples/session_list.py
Normal file
4
packages/sdk/python/examples/session_list.py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
from opencode_ai import OpenCodeClient
|
||||
|
||||
client = OpenCodeClient()
|
||||
print([s.id for s in client.list_sessions() or []])
|
||||
Loading…
Add table
Add a link
Reference in a new issue