refactor: escape newlines in prompt logs and clarify source separators (#2106)

This commit is contained in:
leejet authored and GitHub committed 2026-10-06 19:51:12 +08:00
1 parent 0963357214
commit fd43b542a6
7 files changed
+27 -11

No files matched your search

+1
View File
@@ -29,6 +29,7 @@ bool contains(const std::string& str, const std::string& substr);
std::string sd_format(const char* fmt, ...);
void replace_all_chars(std::string& str, char target, char replacement);
std::string escape_newlines(const std::string& text);
int round_up_to(int value, int base);