Patch Changes
-
#10961
674b755Thanks @hntrl! - fix(prompts): enforce maximum prompt template nesting depthAdd recursion depth guards for mustache template parsing and dict prompt template traversal to prevent stack-exhaustion DoS from deeply nested attacker-controlled templates.
-
#12108
fb61799Thanks @casparb! - fix(core): end thetool()run when its signal is already aborted