Skip to content

Commit 96cdc9a

Browse files
committed
Another one
1 parent 54e99b6 commit 96cdc9a

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

llms_wrapper/llms.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,6 @@ def __init__(
335335
if use_phoenix:
336336
if isinstance(use_phoenix, str):
337337
use_phoenix = (use_phoenix, "default")
338-
print("importing")
339338
from phoenix.otel import register
340339
from openinference.instrumentation.litellm import LiteLLMInstrumentor
341340
# register
@@ -773,9 +772,7 @@ def cleaned_args(args: dict):
773772
# Not known/supported by litellm, apparently
774773
# if "parallel_tool_choice" not in completion_kwargs:
775774
# completion_kwargs["parallel_tool_choice"] = True
776-
print(f"DEBUG: creating map for tools, tool_map is {tool_map}")
777775
fmap = toolnames2funcs(tools, tool_map=tool_map)
778-
print(f"DEBUG: create fmap: {fmap}")
779776
else:
780777
fmap = {}
781778
if via_streaming:
@@ -1054,7 +1051,8 @@ def chunk_generator(model_generator, retobj):
10541051
return self.query(
10551052
llmalias,
10561053
messages,
1057-
tools=tools,
1054+
tools=tools,
1055+
tool_map=tool_map,
10581056
return_cost=return_cost,
10591057
return_response=return_response,
10601058
debug=debug,

llms_wrapper/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
import importlib.metadata
2-
__version__ = "0.9.1.4"
2+
__version__ = "0.9.1.5"
33

0 commit comments

Comments
 (0)