mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-15 07:43:51 +01:00
feat: additional AI configuration
This commit is contained in:
parent
927e7d4263
commit
b4e432cfd8
3 changed files with 19 additions and 15 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue