-
-
Notifications
You must be signed in to change notification settings - Fork 148
Description
I am using the new #diagnostics
context as per the latest PR
BREAKING CHANGE: diagnostics moved to separate tool call, selection and buffer calls no longer include them by default
As you can see they are stickied correctly to the buffer

However, upon invoking #diagnostics
(say to list or correct the actual errors) I get
error
attempt to index field 'severity' (a nil value)
independent of the model I choose - different models then go ahead and explain why such error occurs, however it seems to be an underlying implementation bug, or does it work correctly in your case? This by the way shows also if one includes the new "diagnostics" in any custom prompt, namely it excepts with the aforementioned error.
P. S. If I lock the repository back to commit d0537a7 then all works as intended if I specify diagnostics myself like in here