Skip to content

Commit

Permalink
fix test-chat
Browse files Browse the repository at this point in the history
  • Loading branch information
ochafik committed Feb 8, 2025
1 parent a59fde2 commit b829cab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test-chat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,7 @@ static void test_template_output_parsers() {

common_chat_inputs inputs_no_tools;
inputs_no_tools.messages = json::array({message_user});
inputs_no_tools.extract_reasoning = false;

common_chat_inputs inputs_no_tools_think;
inputs_no_tools_think.messages = json::array({message_user});
Expand All @@ -436,6 +437,7 @@ static void test_template_output_parsers() {
common_chat_inputs inputs_tools;
inputs_tools.messages = json::array({message_user});
inputs_tools.tools = json::array({special_function_tool});
inputs_tools.extract_reasoning = false;

common_chat_inputs inputs_tools_think;
inputs_tools_think.messages = json::array({message_user});
Expand All @@ -445,6 +447,7 @@ static void test_template_output_parsers() {
common_chat_inputs inputs_tools_builtin;
inputs_tools_builtin.messages = json::array({message_user});
inputs_tools_builtin.tools = json::array({python_tool});
inputs_tools_builtin.extract_reasoning = false;

{
// Not supported yet
Expand Down

0 comments on commit b829cab

Please sign in to comment.