goose icon indicating copy to clipboard operation
goose copied to clipboard

feat: selective render

Open laanak08 opened this issue 11 months ago • 4 comments

This change allows "Goose" (not user, not assistant) to show information to the user which is outside of the user's conversation with the llm, and avoids sending those out-of-band messages to the llm.

ideally, visually, it would be nice to update the prompt so Goose-messages show as a third speaker.

changelist:

  • add role Goose
  • after truncation, create message to user from Role::Goose and append to the message history
  • filter out these Goose-messages before sending to llm-preprocessing
  • after llm response, render llm response, then render any goose response if one exists

this keeps the Goose messages in the message history.

laanak08 avatar Jan 16 '25 17:01 laanak08

Desktop App for this PR

The following build is available for testing:

The app is signed and notarized for macOS. After downloading, unzip the file and drag the Goose.app to your Applications folder.

This link is provided by nightly.link and will work even if you're not logged into GitHub.

github-actions[bot] avatar Jan 16 '25 18:01 github-actions[bot]

how do these messages render in the UI / CLI?

ahau-square avatar Jan 16 '25 19:01 ahau-square

@ahau-square

how do these messages render in the UI / CLI? its the last line of text Screenshot 2025-01-16 at 12 13 13 PM As i said above though, i could work on giving it an icon so its clearly another speaker

laanak08 avatar Jan 16 '25 21:01 laanak08

yeah nice - would be nice in the GUI if it could have some goose like icon or prefix to make it clear it is a side channel message or just from goose? (optional though as most people won't necessarily know or care where it came from probably)

michaelneale avatar Jan 16 '25 23:01 michaelneale

Still like this idea a lot but going to close this out for now and we can open something similar against main when we revisit the use case?

baxen avatar Feb 17 '25 20:02 baxen