Effect CommunityEC
Effect Community2w ago
3 replies
harrysolovay

Disabling Decoding/Schema Validation in Raw Clients

Is there a way to disable decoding / schema validation when using the raw clients?

For example, I'm using OpenRouterClient and running into the following error when calling client.getModels. But all I need is the
id
of each model, so the full result decoding is unnecessary. Would love to be able to disable it.
Was this page helpful?