test(llm): follow credential resolver after master merge

This commit is contained in:
Yichen Jiang
2026-08-08 02:00:28 +08:00
parent a64f5c34ea
commit 5ed934935a
+1 -1
View File
@@ -236,7 +236,7 @@ describe('PiAiAdapter provider routing', () => {
const ctx = new Context()
await ctx.plugin(LlmService)
await ctx.plugin(LlmPiAi, {
providers: { openai: { apiKey: 'test-key', baseURL: `${server.url}/v1` } },
providers: { openai: { apiKeyEnv: 'PI_TEST_KEY', baseURL: `${server.url}/v1` } },
})
await ctx.plugin(LateAttachmentStore)