We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 765dca6 commit 6b23d05Copy full SHA for 6b23d05
llama_cpp/llama_chat_format.py
@@ -4296,8 +4296,8 @@ def gguf_function_calling(
4296
initial_gbnf_tool_grammar = """
4297
root ::= message | function_calls | message_then_functions
4298
message ::= "message:"
4299
- function_calls ::= "<function_calls>\\n"
4300
- message_then_functions ::= "message:" "<function_calls>\\n"
+ function_calls ::= "<function_calls>"
+ message_then_functions ::= "message:" "<function_calls>"
4301
"""
4302
completion = cast(
4303
llama_types.CreateCompletionResponse,
0 commit comments