goose icon indicating copy to clipboard operation
goose copied to clipboard

Add the ability to have model specific goosehints and system prompts

Open simonsickle opened this issue 6 months ago • 3 comments

Please explain the motivation behind the feature request. Some models do quirky things that need to be worked around, like Gemini 2.5-pro for example. To work around the fact that it loves to add comments to explain things to talk to me that don't actually add value, I would love to add some goosehints specific to gemini. When I swap over to claude, I don't need to dirty up the context window with this hint however.

Describe the solution you'd like A simple way to have a global hint file for gemini (or per model), perhaps configured by environment variable or in the UI?

Describe alternatives you've considered Alternatively, a per model configureable system prompt would be an interesting concept

Additional context Add any other context or screenshots about the feature request here.

Idea spawned from gemini-code's system prompt which has some really helpful info to add in to goose https://github.com/google-gemini/gemini-cli/blob/0915bf7d677504c28b079693a0fe1c853adc456e/packages/core/src/core/prompts.ts#L48

  • [x] I have verified this does not duplicate an existing feature request

simonsickle avatar Jun 27 '25 01:06 simonsickle

Image

aichat allow config multiple clients, in each client, you can have a different configuration for that client.

If goose support this, it can easily config a .goosehint file location for one client.

https://github.com/sigoden/aichat/wiki/Configuration-Guide#clients

towry avatar Jun 27 '25 09:06 towry

@simonsickle I would go further - in the config we could have the model config point to a specific system prompt (I think that may be better than hints - I would leave the hints as they are) and that can help steer things - WDYT? di dyou want to have a go at a PR to this?

michaelneale avatar Nov 25 '25 00:11 michaelneale

Looks like we already support system prompts per model 😅 easiest ticket ever.

https://github.com/block/goose/blob/main/crates/goose/src/prompts/system_gpt_4.1.md

simonsickle avatar Nov 25 '25 01:11 simonsickle