fix(opencode): surface content-filter finish reason as visible error (#31745)

Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This commit is contained in:
Kevin Dawkins
2026-06-11 08:41:11 -07:00
committed by GitHub
parent a1dee8b273
commit e2527db3c7
6 changed files with 110 additions and 0 deletions
+8
View File
@@ -493,6 +493,14 @@ export class Reply {
return this
}
contentFilter() {
this.#finish = "content_filter"
this.#hang = false
this.#error = undefined
this.#reset = false
return this
}
toolCalls() {
this.#finish = "tool_calls"
this.#hang = false