mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-22 18:24:21 +01:00
drop excess dependency in opencode sdk
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user