fix(opencode): add input limit for compaction (#8465)

This commit is contained in:
Brandon Smith
2026-01-15 01:35:16 -06:00
committed by GitHub
parent 92931437c4
commit 8d720f9463
5 changed files with 47 additions and 34 deletions

View File

@@ -557,6 +557,7 @@ export namespace Provider {
}),
limit: z.object({
context: z.number(),
input: z.number().optional(),
output: z.number(),
}),
status: z.enum(["alpha", "beta", "deprecated", "active"]),
@@ -619,6 +620,7 @@ export namespace Provider {
},
limit: {
context: model.limit.context,
input: model.limit.input,
output: model.limit.output,
},
capabilities: {