Skip to content

Commit 97f028c

Browse files
authored
content should be string
1 parent 9e9cf10 commit 97f028c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ llm.create_chat_completion(
616616
},
617617
{ # The tool_call_id is from tool_calls and content is the result from the function call you made
618618
"role": "tool",
619-
"content": 20,
619+
"content": "20",
620620
"tool_call_id": "call__0_get_current_weather_cmpl-..."
621621
}
622622
],

0 commit comments

Comments
 (0)