cohere-python
cohere-python copied to clipboard
More descriptive error handling in Python SDK
Currently, if a user inputs the wrong type into a function call, we respond with a generic "wrong type, check https://docs.cohere.ai/{endpoint}-reference" which is provided by the backend. Giving more verbose errors would be nice.
https://github.com/cohere-ai/cohere-node/issues/30 for a few more details