fix: scope provider model keys and pin async credentials

This commit is contained in:
wlx committed 2026-09-29 17:00:55 +08:00
1 parent 58dc904c98
commit 558c0dcdd5
8 files changed
+166 -55

No files matched your search

@@ -103,7 +103,8 @@ class OpenAiCompatibleProviderHttpTest {
});
server.start();
environment.withProperty("MOYI_UPSTREAM_API_KEYS_ROUTE_ROUTE_A", "route-key")
.withProperty("MOYI_UPSTREAM_API_KEYS_MODEL_GPT_5", "model-key");
.withProperty("MOYI_UPSTREAM_API_KEYS_MODEL_PROVIDER_DEEPSEEK_GPT_5", "model-key")
.withProperty("MOYI_UPSTREAM_API_KEYS_MODEL_GPT_5", "wrong-global-key");
provider.chat("provider-deepseek", "gpt-5", "route-a", textInput(128));
provider.chat("provider-deepseek", "gpt-5", "route-b", textInput(128));