hume 0.7.2
This release fixes a validation error in ReturnConfig
when creating a config with a null custom_voice
. Previously, this would raise a pydantic ValidationError
. Now, null values for custom_voice
are properly handled.
Example of fixed usage:
client = AsyncHumeClient(api_key=<HUME_API_KEY>) # replace <HUME_API_KEY> with your API key
resp = await client.empathic_voice.configs.create_config(name="test", evi_version=1)
# This now works without raising a ValidationError, even if custom_voice is implicitly None