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

error #1309

Open
1 task done
codex-g-404 opened this issue Feb 17, 2025 · 2 comments · May be fixed by #1310
Open
1 task done

error #1309

codex-g-404 opened this issue Feb 17, 2025 · 2 comments · May be fixed by #1310
Labels
bug Something isn't working

Comments

@codex-g-404
Copy link

Before submitting your bug report

  • I'm not able to find an open issue that reports the same bug

Environment

- OS: window 10 pro
- Sidecar commit:
- IDE commit:

Description

Image

Reproduction

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 and it is recommended to switch over to one of our recommended models instead.

Log output

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 and it is recommended to switch over to one of our recommended models instead.
@codex-g-404 codex-g-404 added the bug Something isn't working label Feb 17, 2025
@theskcd
Copy link
Contributor

theskcd commented Feb 17, 2025

ACK, on it!

@theskcd
Copy link
Contributor

theskcd commented Feb 17, 2025

🛠️ Error Handling Improvement: Implemented robust LLM format error detection and consistent messaging

  • Added: Helper function isLLMFormatError() with pattern matching for common format errors
  • Added: Centralized error message constant for better user experience
  • Updated: Three different error handling sections for consistent error presentation

This PR addresses #1309 by making error handling more robust when LLMs return responses that don't adhere to the expected format.

@theskcd theskcd linked a pull request Feb 17, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants