[Bug]: Misleading text about shared references #464
Replies: 4 comments 8 replies
-
I love the fact that it does not re-share all the buffer content over and over each message (to keep the context size "leaner"). But I agree there needs to be a way to "update" the content when you want to after changing the buffer. What if a timestamp gets added to the reference for the buffer so you can see when it was shared (and thus the time of content being used from that buffer) and if you include again in a message later the thoughts? |
Beta Was this translation helpful? Give feedback.
-
So maybe the references say something like:
|
Beta Was this translation helpful? Give feedback.
-
In a perfect world what would be VERY cool is if using the same timestamp concept, the references could highlight / flag any shared reference items that have recent changes... meaning if you update a buffer file and save, the references simply check the last modified timestamp of the reference files and compare to its timestamp when shared and can let you know if a reference has changed to prompt you to re-include an update if you want to. |
Beta Was this translation helpful? Give feedback.
-
My logic for this is that once you add a reference (i.e. a buffer or a file) to the chat buffer, it becomes part of the payload which is sent with every request to your LLM. I chose the verb "sharing" because that's exactly what's happening with every message you send. If I'd have used There's a fine line to tread in the chat buffer between useful information and visual bloat. This was a feature I hadn't intended to add but acknowledged that for some users it was really useful. I'm also planning a lot of features related to this e.g. sticky/updateable references on every request and the ability to modify references on the fly. Closing this as it's not a bug but will transfer to a discussion. |
Beta Was this translation helpful? Give feedback.
-
Your
minimal.lua
configirrelevant
Error messages
No response
Log output
irrelevant
Health check output
No response
Describe the bug
It's not really a breaking bug, but more like how the plugin displays shared variables.
> Sharing: ...
is added to the next message, but in it does not actually adds any variables to the second message.Expected behavior is probably - display variables only on the original message.
Json log from
gd
:Reproduce the bug
#buffer
with agentFinal checks
minimal.lua
file from above and have shared thisBeta Was this translation helpful? Give feedback.
All reactions