Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: CI build
Browse files Browse the repository at this point in the history
nguyenhoangthuan99 committed Dec 23, 2024
1 parent 30b6ae1 commit 4fb3688
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/utils/jinja_utils.h
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
#include <json/value.h>
#include <string>

#include "extensions/remote-engine/template_renderer.h"
#include "extensions/template_renderer.h"
#include "utils/chat-template.hpp"
#include "utils/result.hpp"

@@ -14,7 +14,7 @@ inline cpp::result<std::string, std::string> RenderTemplate(
bool add_generation_prompt = true) {
try {
auto converted_json =
remote_engine::TemplateRenderer().ConvertJsonValue(data);
extensions::TemplateRenderer().ConvertJsonValue(data);

minja::chat_template chat_tmpl(tmpl, add_bos_token ? bos_token : "",
add_eos_token ? eos_token : "");

0 comments on commit 4fb3688

Please sign in to comment.