Enhanced HTTPException in create_agent.py and delete_agent.py.
As this issue states, we aim to improve error messages throughout the agents-api. I believe this issue can accommodate multiple pull requests. Your suggestions are highly appreciated.
[!IMPORTANT]
Enhanced error messages in create_agent.py and delete_agent.py for better clarity in HTTPException details.
Error Messages:
In create_agent.py, updated HTTPException detail to "Developer not found. Please ensure the provided auth token (which refers to your developer_id) is valid and the developer has the necessary permissions to create an agent."
In delete_agent.py, updated HTTPException detail to "The specified developer does not own the requested resource. Please verify the ownership or check if the developer ID is correct."
This description was created by for a085d4193ec0c36ba407f340c77e81834419dd69. It will automatically update as commits are pushed.
Partially fixes #568
Enhanced HTTPException in
create_agent.py
anddelete_agent.py
.As this issue states, we aim to improve error messages throughout the agents-api. I believe this issue can accommodate multiple pull requests. Your suggestions are highly appreciated.