feat(ai-proxy): add cooldownDuration support for failover token recovery (#3700)

Signed-off-by: wydream <yaodiwu618@gmail.com>
Signed-off-by: woody <yaodiwu618@gmail.com>
This commit is contained in:
woody
2026-05-20 18:11:11 +08:00
committed by GitHub
parent e7651f3d3e
commit 739d47ba9c
6 changed files with 890 additions and 48 deletions

View File

@@ -368,6 +368,12 @@ func TestZhipuAI(t *testing.T) {
test.RunZhipuAIClaudeAutoConversionTests(t)
}
func TestCooldown(t *testing.T) {
test.RunCooldownParseConfigTests(t)
test.RunCooldownOnHttpResponseHeadersTests(t)
test.RunCooldownRecoveryTests(t)
}
func TestDeepSeek(t *testing.T) {
test.RunDeepSeekParseConfigTests(t)
test.RunDeepSeekOnHttpRequestHeadersTests(t)