Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#141791 - Better Error Handling #16

Open
AleksanderBak opened this issue Dec 13, 2024 · 0 comments · Fixed by #17
Open

#141791 - Better Error Handling #16

AleksanderBak opened this issue Dec 13, 2024 · 0 comments · Fixed by #17
Assignees
Labels
enhancement Improvement to an existing feature waiting for tests

Comments

@AleksanderBak
Copy link
Collaborator

🔍 What's the problem?

Currently, the agent returns only the message "Internal server occurred" in case of an error. This is the only error type that makes it difficult to identify the root cause of the issue without analyzing the server logs. As a result, there is a need to expand the range of supported error types so that the user can determine whether the issue is temporary (e.g., Anthropic API overloaded - a common error that halts the agent's operation) or requires server-side intervention to fix.

💡 Proposed Solution

  • The agent should use a version of LangGraph that supports a retry policy, and it should consider implementing this solution when calling the LLM API (also consider implementing this in other parts of the system).
    The agent should return more detailed error messages to give the user a clearer understanding of the underlying issue. This would enable users to better assess whether the problem is temporary or requires further action.
  • The agent should return more descriptive error messages to give the user a clearer understanding of the underlying issue. This would enable users to better assess whether the problem is temporary or requires further action.
@AleksanderBak AleksanderBak self-assigned this Dec 13, 2024
@AleksanderBak AleksanderBak added enhancement Improvement to an existing feature waiting for code review labels Dec 13, 2024
@AleksanderBak AleksanderBak changed the title #140854 - Better Error Handling #141791 - Better Error Handling Dec 13, 2024
@AleksanderBak AleksanderBak linked a pull request Dec 13, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement to an existing feature waiting for tests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant