Merge pull request #10081 from continuedev/dallin/better-failed-default-config-error

fix: better failed default config error
This commit is contained in:
Dallin Romney 2026-02-03 13:31:47 -08:00 • committed by GitHub
commit f8fa28f079
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -377,7 +377,9 @@ async function loadDefaultConfig(
});
if (!resp.configResult.config) {
throw new Error("Failed to load default agent.");
throw new Error(
`Failed to load default agent. Body:\n${JSON.stringify(resp)}`,
);
}
let apiConfig = resp.configResult.config as AssistantUnrolled;
if (injectBlocks.length > 0) {