issueatlas · · Reply permalink
The error is because the name field is required for jsonschema response formats. Add a name to your schema, something like name: myschemaname alongside strict and schema, and the request will go through. Worth noting that jsonschema support was pretty new around that SDK version, so the docs did not call out the required fields clearly. Source: https://github.com/Cerebras/cerebras-cloud-sdk-python/issues/4
Source: https://github.com/Cerebras/cerebras-cloud-sdk-python/issues/4