Commits
Click on a commit to change the comparison rangeperf(core): move origin type map to module level in function_calling.py
Move _ORIGIN_MAP dict from inside _py_38_safe_origin() to module level constant. This avoids dict allocation on every function call, reducing garbage collection pressure during frequent tool conversions.
The function is called during typed dict to pydantic model conversion which happens during tool binding and invocation.18 hours ago
by Rudra-Tiwari-codes