Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

The LLM that you're using right now returned a response that does not adhere to the format our framework expects, and thus this request has failed. If you keep seeing this error, this is likely because the LLM is unable to follow our system instructions an (Run ID: codestoryai_aide_issue_1329_b2bda857) #1330

Open
wants to merge 1 commit into
base: cs-main
Choose a base branch
from

Conversation

theskcd
Copy link
Contributor

@theskcd theskcd commented Feb 20, 2025

agent_instance: codestoryai_aide_issue_1329_b2bda857 Tries to fix: #1329

🛠️ Bug Fix: Improved LLM response format error handling for better user experience

  • Added: Centralized error message constant LLM_FORMAT_ERROR_MESSAGE to ensure consistent messaging
  • Updated: Error handling logic to properly distinguish between connection errors and LLM format errors
  • Enhanced: User feedback by providing clearer guidance when LLM responses don't match expected format

👋 Ready for review! These changes make the error handling more robust while improving the clarity of feedback to users.

This commit message reflects that the changes are primarily refactoring the error handling logic and standardizing error messages in the AideAgentProvider class.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant