chore: default locale & request timeout

This commit is contained in:
iff 2024-11-20 00:18:10 +01:00
parent a44e8b0fbe
commit d1b42d1c59
2 changed files with 2 additions and 1 deletions

View file

@ -99,6 +99,7 @@ You run the command `{last_command}` and get the following error message: `{erro
.header("Authorization", format!("Bearer {}", api_key))
.header("Content-Type", "application/json")
.json(&messages)
.timeout(std::time::Duration::from_secs(10))
.send();
let res = match res {