Skip to content

Commit 75b8545

Browse files
CISCsamuraieng
authored andcommitted
cli : use get_media_marker (ggml-org#22017)
1 parent 4d359cb commit 75b8545

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tools/cli/cli.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include "console.h"
55
// #include "log.h"
66

7+
#include "server-common.h"
78
#include "server-context.h"
89
#include "server-task.h"
910

@@ -194,7 +195,7 @@ struct cli_context {
194195
raw_buffer buf;
195196
buf.assign((std::istreambuf_iterator<char>(file)), std::istreambuf_iterator<char>());
196197
input_files.push_back(std::move(buf));
197-
return mtmd_default_marker();
198+
return get_media_marker();
198199
} else {
199200
std::string content((std::istreambuf_iterator<char>(file)), std::istreambuf_iterator<char>());
200201
return content;

0 commit comments

Comments
 (0)