This PR is to fix the issue mentioned in #572
I have made the required changes in the files create_agent.py, create_or_update_agent.py and delete_agent.py. I have added descriptions to QueryException, ValidationError and TypeError.
[!IMPORTANT]
Enhanced error messages for exceptions in agent-related files to provide detailed guidance on potential issues.
Error Messages:
Enhanced error messages for QueryException, ValidationError, and TypeError in create_agent.py, create_or_update_agent.py, and delete_agent.py.
QueryException: Now includes a detailed message about potential causes related to database query failures.
ValidationError: Provides guidance on checking input data for missing or incorrect fields.
TypeError: Describes type mismatch issues and suggests reviewing input data types.
This description was created by for 049d7eea196b74158e4fc4d83049656c7e7fa12e. It will automatically update as commits are pushed.
This PR is to fix the issue mentioned in #572
I have made the required changes in the files create_agent.py, create_or_update_agent.py and delete_agent.py. I have added descriptions to QueryException, ValidationError and TypeError.