chat: replace output string with parts (#30389)
* chat: replace output string with parts * reserve first
This commit is contained in:
1 parent
1b70350c92
commit
ff026f8c0a
31 files changed
+241
-133
No files matched your search
@@ -96,7 +96,7 @@ static std::string format_input_text(const std::string & prompt, const std::stri
|
||||
|
||||
auto result = common_chat_templates_apply(chat_templates.get(), inputs);
|
||||
|
||||
return result.prompt;
|
||||
return result.prompt.str();
|
||||
}
|
||||
|
||||
int main(int argc, char ** argv) {
|
||||
|
||||
Reference in new issue
Block a user