File tree Expand file tree Collapse file tree 2 files changed +1
-10
lines changed
Expand file tree Collapse file tree 2 files changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,7 @@ export const CodebuffConfigSchema = z
8080 . describe ( 'An array of commands to run on file changes.' ) ,
8181 maxAgentSteps : z
8282 . number ( )
83+ . optional ( )
8384 . default ( 12 )
8485 . describe (
8586 'Maximum number of turns agent will take before being forced to end' ,
Original file line number Diff line number Diff line change 11import z from 'zod/v4'
22
3- import { logger } from './logger'
4-
53/**
64 * Convert a Zod4 schema to JSON string representation.
75 */
@@ -21,14 +19,6 @@ export function schemaToJsonStr(
2119 // Otherwise, pass on plain object
2220 return JSON . stringify ( schema , null , 2 )
2321 } catch ( error ) {
24- // Graceful fallback
25- logger . warn (
26- {
27- error,
28- schema,
29- } ,
30- 'Failed to convert schema to JSON' ,
31- )
3222 return 'None'
3323 }
3424}
You can’t perform that action at this time.
0 commit comments