mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-29 21:19:48 +00:00
drop excess dependency in opencode sdk
This commit is contained in:
parent
d91781c639
commit
f211fc45a3
3 changed files with 14 additions and 12 deletions
|
|
@ -413,6 +413,10 @@ export type Config = {
|
|||
context: number
|
||||
output: number
|
||||
}
|
||||
modalities?: {
|
||||
input: Array<"text" | "audio" | "image" | "video" | "pdf">
|
||||
output: Array<"text" | "audio" | "image" | "video" | "pdf">
|
||||
}
|
||||
experimental?: boolean
|
||||
options?: {
|
||||
[key: string]: unknown
|
||||
|
|
@ -746,6 +750,7 @@ export type ToolStateCompleted = {
|
|||
end: number
|
||||
compacted?: number
|
||||
}
|
||||
attachments?: Array<FilePart>
|
||||
}
|
||||
|
||||
export type ToolStateError = {
|
||||
|
|
@ -904,6 +909,10 @@ export type Model = {
|
|||
context: number
|
||||
output: number
|
||||
}
|
||||
modalities?: {
|
||||
input: Array<"text" | "audio" | "image" | "video" | "pdf">
|
||||
output: Array<"text" | "audio" | "image" | "video" | "pdf">
|
||||
}
|
||||
experimental?: boolean
|
||||
options: {
|
||||
[key: string]: unknown
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue