mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
4 lines
118 B
Python
4 lines
118 B
Python
from opencode_ai import OpenCodeClient
|
|
|
|
client = OpenCodeClient()
|
|
print([s.id for s in client.list_sessions() or []])
|