File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 description : opencode:opencode/claude-sonnet-4-5
1515 type : boolean
1616 default : false
17+ opencode_opencode_big_pickle :
18+ description : opencode:opencode/big-pickle
19+ type : boolean
20+ default : false
1721 claude_code_claude_sonnet_4_5 :
1822 description : claude-code:claude-sonnet-4-5
1923 type : boolean
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ export const models: string[] = [
3838 // "opencode/gpt-5",
3939 "opencode/gpt-5-codex" ,
4040 "opencode/claude-sonnet-4-5" ,
41+ "opencode/big-pickle" ,
4142 // "opencode/claude-sonnet-4",
4243 // "opencode/claude-3-5-haiku",
4344 // "opencode/claude-opus-4-1",
@@ -123,8 +124,19 @@ function logPromptResult(
123124 options : AgentRunOptions | undefined ,
124125 logs ?: string [ ] ,
125126) : void {
126- logJson ( { info : result . info } , options , logs ) ;
127- result . parts . forEach ( ( part ) => logJson ( part , options , logs ) ) ;
127+ logJson ( { info : result . info } , options ) ;
128+ if ( Array . isArray ( result . parts ) ) {
129+ result . parts . forEach ( ( part ) => logJson ( part , options ) ) ;
130+ } else {
131+ logError (
132+ {
133+ error : "invalid_parts_array" ,
134+ message : `Expected 'parts' to be an array, but got ${ typeof result . parts } ` ,
135+ receivedResponse : result ,
136+ } ,
137+ options ,
138+ ) ;
139+ }
128140}
129141
130142function serializeError ( error : unknown ) : Record < string , unknown > {
You can’t perform that action at this time.
0 commit comments