mirror of
https://fastgit.cc/https://github.com/anomalyco/opencode
synced 2026-04-21 05:10:58 +08:00
5 lines
118 B
Python
5 lines
118 B
Python
from opencode_ai import OpenCodeClient
|
|
|
|
client = OpenCodeClient()
|
|
print([s.id for s in client.list_sessions() or []])
|