feat: additional AI configuration

This commit is contained in:
iff 2024-11-20 21:16:14 +01:00
parent 927e7d4263
commit b4e432cfd8
3 changed files with 19 additions and 15 deletions

View file

@ -45,7 +45,9 @@ fn main() {
#[cfg(feature = "request-ai")]
{
std::env::set_var("_PR_LOCALE", &locale);
if std::env::var("_PR_AI_LOCALE").is_err() {
std::env::set_var("_PR_AI_LOCALE", &locale);
}
}
args::handle_args();