mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix(ollama_chat.py): fix passing assistant message with tool call param
Fixes https://github.com/BerriAI/litellm/issues/5319
This commit is contained in:
parent
4fe22ec493
commit
f36e7e0754
4 changed files with 53 additions and 8 deletions
|
@ -54,6 +54,7 @@ def get_current_weather(location, unit="fahrenheit"):
|
|||
)
|
||||
def test_parallel_function_call(model):
|
||||
try:
|
||||
litellm.set_verbose = True
|
||||
# Step 1: send the conversation and available functions to the model
|
||||
messages = [
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue