8000 fix(docs): incorrect tool_choice example (#1330) · coderonion/llama-cpp-python@7265a5d · GitHub
[go: up one dir, main page]

Skip to content

Commit 7265a5d

Browse files
authored
fix(docs): incorrect tool_choice example (abetlen#1330)
1 parent 909ef66 commit 7265a5d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,12 +458,12 @@ The high-level API supports OpenAI compatible function and tool calling. This is
458458
}
459459
}
460460
}],
461-
tool_choice=[{
461+
tool_choice={
462462
"type": "function",
463463
"function": {
464464
"name": "UserDetail"
465465
}
466-
}]
466+
}
467467
)
468468
```
469469

0 commit comments

Comments
 (0)
0