Skip to content
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

fix: Remove tools from exchange when summarizing files #157

Merged
merged 3 commits into from
Oct 15, 2024

Conversation

lily-de
Copy link
Collaborator

@lily-de lily-de commented Oct 15, 2024

In the repo_context toolkit, Goose summarizes a list of files with the summarize_files_concurrent function. This function needs an exchange to work, and we were using the accelerator exchange for this. I found that because that exchange still had the patch_file tool, sometimes it would try to use it for single files and it would save the file summary to path/to/file.txt (literally). This PR removes tools from the 'blank' exchange we are using to summarize files.

@lily-de lily-de changed the title Remove tools from exchange when summarizing files fix: Remove tools from exchange when summarizing files Oct 15, 2024
@lily-de lily-de merged commit 89650f8 into main Oct 15, 2024
4 checks passed
@codefromthecrypt codefromthecrypt deleted the ldelalande/remove-write-tools-from-repo-context branch October 15, 2024 23:01
ahau-square added a commit that referenced this pull request Oct 16, 2024
* origin/main:
  docs: add subheaders to the 'Other ways to run Goose' section (#155)
  fix: Remove tools from exchange when summarizing files (#157)
  chore: use primitives instead of typing imports and fixes completion … (#149)
  chore: make vcr tests pretty-print JSON (#146)
  chore(release): goose 0.9.5 (#159)
  chore(release): exchange 0.9.5 (#158)
lukealvoeiro added a commit that referenced this pull request Oct 17, 2024
* main: (23 commits)
  feat: Run with resume session (#153)
  refactor: move langfuse wrapper to a module in exchange instead of a package (#138)
  docs: add subheaders to the 'Other ways to run Goose' section (#155)
  fix: Remove tools from exchange when summarizing files (#157)
  chore: use primitives instead of typing imports and fixes completion … (#149)
  chore: make vcr tests pretty-print JSON (#146)
  chore(release): goose 0.9.5 (#159)
  chore(release): exchange 0.9.5 (#158)
  chore: updates ollama default model from mistral-nemo to qwen2.5 (#150)
  feat: add vision support for Google (#141)
  fix: session resume with arg handled incorrectly (#145)
  docs: add release instructions to CONTRIBUTING.md (#143)
  docs: add link to action, IDE words (#140)
  docs: goosehints doc fix only (#142)
  chore(release): release 0.9.4 (#136)
  revert: "feat: add local langfuse tracing option  (#106)" (#137)
  feat: add local langfuse tracing option  (#106)
  feat: add groq provider (#134)
  feat: add a deep thinking reasoner model (o1-preview/mini) (#68)
  fix: use concrete SessionNotifier (#135)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants