(route: string, message: string, raw?: string)
| 88 | } |
| 89 | |
| 90 | export const eventError = (route: string, message: string, raw?: string) => |
| 91 | new LLMError({ |
| 92 | module: "ProviderShared", |
| 93 | method: "stream", |
| 94 | reason: new InvalidProviderOutputReason({ route, message, raw }), |
| 95 | }) |
| 96 | |
| 97 | export const parseJson = (route: string, input: string, message: string) => |
| 98 | Effect.try({ |
no outgoing calls
no test coverage detected