Skip to content

Commit 64caf88

Browse files
committed
Add model name to outputs
1 parent 5038b48 commit 64caf88

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

function_calling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@
6969
tools=tools,
7070
)
7171

72-
print(f"Response from {API_HOST}: \n")
72+
print(f"Response from {MODEL_NAME} on {API_HOST}: \n")
7373
print(response.choices[0].message.tool_calls[0].function.name)
7474
print(response.choices[0].message.tool_calls[0].function.arguments)

function_calling_multiple.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
tool_choice="auto",
9292
)
9393

94-
print(f"Response from {API_HOST}: \n")
94+
print(f"Response from {MODEL_NAME} on {API_HOST}: \n")
9595
for message in response.choices[0].message.tool_calls:
9696
print(message.function.name)
9797
print(message.function.arguments)

0 commit comments

Comments
 (0)