Skip to content

Commit d1a0640

Browse files
author
Olivier Chafik
committed
revert tool example backfill change - command 7rb just needs the right template
1 parent 994301d commit d1a0640

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

common/chat-template.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ class chat_template {
316316

317317
auto polyfill_system_role = opts.polyfill_system_role && !caps_.supports_system_role;
318318
auto polyfill_tools = opts.polyfill_tools && has_tools && !caps_.supports_tools;
319-
auto polyfill_tool_call_example = polyfill_tools && opts.polyfill_tool_call_examples && caps_.supports_tool_calls;
319+
auto polyfill_tool_call_example = polyfill_tools && opts.polyfill_tool_call_examples;
320320
auto polyfill_tool_calls = opts.polyfill_tool_calls && has_tool_calls && !caps_.supports_tool_calls;
321321
auto polyfill_tool_responses = opts.polyfill_tool_responses && has_tool_responses && !caps_.supports_tool_responses;
322322
auto polyfill_object_arguments = opts.polyfill_object_arguments && has_tool_calls && caps_.requires_object_arguments;

0 commit comments

Comments
 (0)