fix: thread workspace auth evidence through model auth

This commit is contained in:
Shakker
2026-04-29 20:26:03 +01:00
parent 1db2e63519
commit c4e249114d
10 changed files with 173 additions and 14 deletions

View File

@@ -31,6 +31,7 @@ export async function getRuntimeAuthForModel(params: {
const resolvedAuth = await resolveModelApiKey({
model: params.model,
cfg: params.cfg,
workspaceDir: params.workspaceDir,
});
if (!resolvedAuth.apiKey || resolvedAuth.mode === "aws-sdk") {