forked from phoenix/litellm-mirror
fix - test using specific commit
This commit is contained in:
parent
b727eb783e
commit
37ef5c0cbf
2 changed files with 3 additions and 1 deletions
|
@ -7,6 +7,8 @@ from litellm.proxy._types import KeyManagementSystem, KeyManagementSettings
|
||||||
import httpx
|
import httpx
|
||||||
import dotenv
|
import dotenv
|
||||||
|
|
||||||
|
print("IMPORT LITELLM on Ishaan's commit") # noqa
|
||||||
|
|
||||||
dotenv.load_dotenv()
|
dotenv.load_dotenv()
|
||||||
#############################################
|
#############################################
|
||||||
if set_verbose == True:
|
if set_verbose == True:
|
||||||
|
|
|
@ -692,7 +692,7 @@ def anthropic_messages_pt_xml(messages: list):
|
||||||
if messages[msg_i].get(
|
if messages[msg_i].get(
|
||||||
"tool_calls", []
|
"tool_calls", []
|
||||||
): # support assistant tool invoke convertion
|
): # support assistant tool invoke convertion
|
||||||
assistant_text += convert_to_anthropic_tool_invoke(
|
assistant_text += convert_to_anthropic_tool_invoke( # type: ignore
|
||||||
messages[msg_i]["tool_calls"]
|
messages[msg_i]["tool_calls"]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue