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 #1329

Open
Malmala opened this issue Feb 20, 2025 · 2 comments · May be fixed by #1330

Comments

@Malmala
Copy link

Malmala commented Feb 20, 2025

Type: Bug

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.

Aide version: Aide 1.96.4 (4e858de632a2bb7407167560cbe824397e95fa4a, 2025-01-31T18:48:20.686Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6500U CPU @ 2.50GHz (4 x 2592)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: unavailable_off
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 7.86GB (4.07GB free)
Process Argv C:\Users\Mohamed almala\Desktop\Google
Screen Reader no
VM 0%
Extensions (4)
Extension Author (truncated) Version
dart-code Dar 3.104.0
flutter Dar 3.104.0
live-server ms- 0.4.15
LiveServer rit 5.7.9
@theskcd
Copy link
Contributor

theskcd commented Feb 20, 2025

ACK, on it!

@theskcd
Copy link
Contributor

theskcd commented Feb 20, 2025

🛠️ Error Handling Enhancement: Fixed LLM response format error handling for improved stability and user feedback

  • Added: Centralized error message constant LLM_FORMAT_ERROR_MESSAGE for consistent messaging
  • Updated: Error handling logic to better distinguish between connection errors and LLM format errors
  • Optimized: Error feedback to provide clearer guidance when LLM responses don't match expected format

👋 Review welcome - particularly around the error message consolidation approach.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.