File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ def toolnames2funcs(tools, tool_map: dict = None):
123123 else :
124124 func = get_func_by_name (name )
125125 if func is None :
126- raise Exception (f"Function { name } not found" )
126+ raise Exception (f"Function { name } not found, tool_map is: { tool_map } " )
127127 fmap [name ] = func
128128 return fmap
129129
@@ -773,7 +773,9 @@ def cleaned_args(args: dict):
773773 # Not known/supported by litellm, apparently
774774 # if "parallel_tool_choice" not in completion_kwargs:
775775 # completion_kwargs["parallel_tool_choice"] = True
776+ print (f"DEBUG: creating map for tools, tool_map is { tool_map } " )
776777 fmap = toolnames2funcs (tools , tool_map = tool_map )
778+ print (f"DEBUG: create fmap: { fmap } " )
777779 else :
778780 fmap = {}
779781 if via_streaming :
Original file line number Diff line number Diff line change 11import importlib .metadata
2- __version__ = "0.9.1.3 "
2+ __version__ = "0.9.1.4 "
33
You can’t perform that action at this time.
0 commit comments