danielvdao
08/04/2025, 6:42 PMOpenRouter , our trace starts off like this:
BamlClientHttpError(client_name=OpenRouterLlama4Maverick, message=LLM call failed: LLMErrorResponse { client: "OpenRouterLlama4Maverick", model: None, prompt: Chat([RenderedChatMessage { role: "system", allow_duplicate_role: false, parts:<lots of info>
and ends with this error message:
message: "Failed to parse JSON: EOF while parsing a value at line 1 column 0", code: Other(200) }, status_code=200)
We're using OpenRouter as our provider to allow for provider routing, however it's hard to tell if this error is on the BAML or the provider side. We want to verify that OpenRouter should be the one falling back here or if the BAML is getting back a bad JSON payload (but a 200 response) from the LLM provider which is why this error is coming up.baml-sam
08/04/2025, 6:43 PMbaml-sam
08/04/2025, 6:44 PMbaml-sam
08/04/2025, 6:44 PMbaml-sam
08/04/2025, 6:45 PMbaml-sam
08/04/2025, 6:47 PMbaml-sam
08/04/2025, 6:48 PMdanielvdao
08/04/2025, 7:00 PMdanielvdao
08/04/2025, 7:01 PMdanielvdao
08/04/2025, 7:43 PMbaml-sam
08/04/2025, 9:53 PMbaml-sam
08/04/2025, 9:53 PMbaml-sam
08/04/2025, 9:54 PMdanielvdao
08/05/2025, 2:11 AMbaml-sam
08/05/2025, 2:13 AMbaml-sam
08/05/2025, 2:13 AMdanielvdao
08/05/2025, 2:18 AMbaml-sam
08/07/2025, 9:37 PMbaml-sam
08/07/2025, 9:38 PM