mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-06-22 12:22:00 +10:00
7275da7303
Some providers (notably Anthropic via proxies) wrap JSON output in markdown code fences (```json ... ```), causing Output.object to throw NoObjectGeneratedError / JSONParseError. Replace Output.object with manual JSON boundary extraction that works regardless of fencing. Also propagate the original AISDKError as cause in throwAiProviderGatewayError for better diagnostics.