File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
packages/core/src/executors/sampling Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import { Ajv } from "ajv";
66import { AggregateAjvError } from "@segment/ajv-human-errors" ;
77import addFormats from "ajv-formats" ;
88import { parseJSON } from "@mcpc/utils" ;
9- import { inspect } from "node:util" ;
109import process from "node:process" ;
1110import { createLogger , type MCPLogger } from "../../utils/logger.ts" ;
1211import type { Span } from "@opentelemetry/api" ;
@@ -47,7 +46,7 @@ export interface ExternalTool {
4746
4847export abstract class BaseSamplingExecutor {
4948 protected conversationHistory : ConversationMessage [ ] = [ ] ;
50- protected maxIterations : number = 33 ;
49+ protected maxIterations : number = 55 ;
5150 protected currentIteration : number = 0 ;
5251 protected logger : MCPLogger ;
5352 protected tracingEnabled : boolean = false ;
@@ -499,13 +498,7 @@ ${history}`,
499498 model,
500499 stopReason,
501500 role,
502- result : inspect ( result , {
503- depth : 5 ,
504- maxArrayLength : 10 ,
505- breakLength : 120 ,
506- compact : true ,
507- maxStringLength : 120 ,
508- } ) ,
501+ result,
509502 } ) ;
510503 }
511504
You can’t perform that action at this time.
0 commit comments