You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: integrate synthetic instruction injection into all fetch handlers
- Add Gemini and OpenAI Responses API format support to synth-instruction.ts
- Integrate injectSynthInstruction and injectNudge into all three fetch handlers
- Add SynthPrompts interface and toolTracker context to FetchWrapperContext
- Wire up toolTracker and prompt loading in index.ts
return"No prunable tool outputs found. Context is already optimized.\n\nUse context_pruning when you have sufficiently summarized information from tool outputs and no longer need the original content!"
72
72
}
73
73
74
-
returnjanitor.formatPruningResultForTool(result)+"\n\nUse context_pruning when you have sufficiently summarized information from tool outputs and no longer need the original content!"
74
+
returnjanitor.formatPruningResultForTool(result)+"\n\nKeep using context_pruning when you have sufficiently summarized information from tool outputs and no longer need the original content!"
0 commit comments