-
Notifications
You must be signed in to change notification settings - Fork 2.4k
added notes about reducing context window by referencing external files #3895
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
|
Since you're already in this file..would you be okay with removing
This wasnt you that added this, but Diane had a ticket on it. You're already here..we might as well remove it. |
|
what if after this line We add this: |
|
okay i have one more note. What do you think of this? I think the pro tip feels a little tacked on..like an after the fact thing..so in the area where it says What if we add Memories are retrieved dynamically based on your request and sent to the LLM with every prompt. For large or detailed instructions, you can store them in files and instruct Goose to reference those files using a prompt like the one below: |
* main: Upgrade to MCP-UI ~5.6.2 and handle internalized auto iframe resizing (#3889) docs: recipe updates (#3844) added notes about reducing context window by referencing external files (#3895) Make the window title reflect what we are doing (#3883) additional metrics + Ui implementation (#3871) feat: Add session description editing functionality (#3819) Update filename in contributing docs (#3866) Fix voice dictation provider selection bug (#3862) doc: Update supported container runtimes (#3874) feat: add OAuth provider abstraction for CLI configuration (#3157) Don't ignore lockfiles on linux/windows builds (#3859) Use RMCP for StreamableHTTP OAuth support (#3845) Try to keep key order for Databricks (#3876) Fix OpenAI Provider with GitHub Models (#3875) Cmd click open finder (#3807) fix: recipe parameter form max height and not scrolling (#3879)
Since
.goosehintsand every memory stored in the Memory Extension are sent with every request to the LLM, I added notes on how to take lengthy notes/memories, write them into external files, and use shorter rules/memories to access those files as needed. While this will likely cause an extra round of back-and-forth between Goose and the LLM, it should reduce the context window from sending long sets of rules/guidelines unrelated to a given request.