1
0
Fork 0
mirror of https://gitlab.com/niansa/discord_llama.git synced 2025-03-06 20:48:25 +01:00

Fixed warning about live edit

This commit is contained in:
niansa 2023-04-25 18:16:14 +02:00
parent 614e03859d
commit 123cb0fad0

View file

@ -763,7 +763,7 @@ int main(int argc, char **argv) {
std::cerr << "Error: Translation model is required to not have instruct mode forced" << std::endl;
exit(-10);
}
if (cfg.translation_model_cfg->instruct_mode_policy == Bot::ModelConfig::InstructModePolicy::Force) {
if (cfg.live_edit) {
std::cerr << "Warning: Live edit should not be enabled for non-english language" << std::endl;
}
}