add retry for xiaoniu api requests

This commit is contained in:
liuwei
2026-04-07 16:17:58 +08:00
parent 2b6deff4ba
commit 96432039cc
2 changed files with 33 additions and 19 deletions

View File

@@ -18,6 +18,8 @@ timeout_seconds = 45
temperature = 0.35
max_tokens = 120
stream = true
max_retries = 3
retry_delay_seconds = 1.0
[mode]
group_default_mode = "social"