mirror of
https://github.com/ggerganov/llama.cpp
synced 2026-04-18 13:16:26 +02:00
cli : use get_media_marker (#22017)
This commit is contained in:
parent
089dd41fe3
commit
30dce2cf29
@ -4,6 +4,7 @@
|
||||
#include "console.h"
|
||||
// #include "log.h"
|
||||
|
||||
#include "server-common.h"
|
||||
#include "server-context.h"
|
||||
#include "server-task.h"
|
||||
|
||||
@ -194,7 +195,7 @@ struct cli_context {
|
||||
raw_buffer buf;
|
||||
buf.assign((std::istreambuf_iterator<char>(file)), std::istreambuf_iterator<char>());
|
||||
input_files.push_back(std::move(buf));
|
||||
return mtmd_default_marker();
|
||||
return get_media_marker();
|
||||
} else {
|
||||
std::string content((std::istreambuf_iterator<char>(file)), std::istreambuf_iterator<char>());
|
||||
return content;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user