fix(opencode): surface content-filter finish reason as visible error (#31745)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This commit is contained in:
co-authored by
Aiden Cline
parent
a1dee8b273
commit
e2527db3c7
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user