mirror of
https://github.com/lifegpc/msg-tool.git
synced 2026-07-08 01:31:53 +08:00
fix po parse llm
This commit is contained in:
@@ -604,7 +604,7 @@ impl<'a> PoParser<'a> {
|
|||||||
if s.starts_with("NAME:") {
|
if s.starts_with("NAME:") {
|
||||||
name = Some(s[5..].trim().to_string());
|
name = Some(s[5..].trim().to_string());
|
||||||
} else if s.starts_with("LLM:") {
|
} else if s.starts_with("LLM:") {
|
||||||
llm = Some(s[4..].trim().to_string());
|
llm = Some(s[4..].trim().replace("\\n", "\n"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user