|
@@ -1633,6 +1633,19 @@ export type Config = {
|
|
|
*/
|
|
*/
|
|
|
url?: string
|
|
url?: string
|
|
|
}
|
|
}
|
|
|
|
|
+ /**
|
|
|
|
|
+ * Thresholds for truncating tool output. When output exceeds either limit, the full text is written to the truncation directory and a preview is returned.
|
|
|
|
|
+ */
|
|
|
|
|
+ tool_output?: {
|
|
|
|
|
+ /**
|
|
|
|
|
+ * Maximum lines of tool output before it is truncated and saved to disk (default: 2000)
|
|
|
|
|
+ */
|
|
|
|
|
+ max_lines?: number
|
|
|
|
|
+ /**
|
|
|
|
|
+ * Maximum bytes of tool output before it is truncated and saved to disk (default: 51200)
|
|
|
|
|
+ */
|
|
|
|
|
+ max_bytes?: number
|
|
|
|
|
+ }
|
|
|
compaction?: {
|
|
compaction?: {
|
|
|
/**
|
|
/**
|
|
|
* Enable automatic compaction when context is full (default: true)
|
|
* Enable automatic compaction when context is full (default: true)
|