feat(api): api update

This commit is contained in:
stainless-app[bot] 2025-07-17 19:29:37 +00:00
parent a617d3359f
commit 5e3dae765d
6 changed files with 56 additions and 36 deletions

2
api.md
View file

@ -102,6 +102,7 @@ Types:
from opencode_ai.types import (
AssistantMessage,
FilePart,
FilePartInput,
Message,
Part,
Session,
@ -109,6 +110,7 @@ from opencode_ai.types import (
StepFinishPart,
StepStartPart,
TextPart,
TextPartInput,
ToolPart,
ToolStateCompleted,
ToolStateError,