diff --git a/chat.h b/chat.h index 2b10be6..5ce0602 100644 --- a/chat.h +++ b/chat.h @@ -72,8 +72,6 @@ char *chat_json(char *role, char *message) { json_object_object_add(root_object, "max_tokens", json_object_new_int(prompt_max_tokens)); json_object_object_add(root_object, "temperature", json_object_new_double(prompt_temperature)); - printf("%s\n", json_object_to_json_string_ext(root_object, JSON_C_TO_STRING_PRETTY)); - return (char *)json_object_to_json_string_ext(root_object, JSON_C_TO_STRING_PRETTY); } diff --git a/tools.h b/tools.h index 8f384eb..b43e6ef 100644 --- a/tools.h +++ b/tools.h @@ -33,8 +33,6 @@ struct json_object *tools_descriptions() { json_object_array_add(root, tool_description_write_file()); - char * result = strdup(json_object_to_json_string_ext(root, JSON_C_TO_STRING_PRETTY)); - printf("%s\n", result); return root; }