Skip to content

Conversation

@rabi
Copy link
Contributor

@rabi rabi commented Dec 17, 2025

Summary

Handler is looking for 'path' but the ReadModuleParams schema defines 'module_path'. This caused the tool to fail with 'Missing required parameter: path' when the LLM correctly used 'module_path'.

Type of Change

  • Feature
  • Bug fix
  • Refactor / Code quality
  • Performance improvement
  • Documentation
  • Tests
  • Security fix
  • Build / Release
  • Other (specify below)

Testing

Unit and manual testing with main branch build

Related Issues

Relates to: #6147

The handler was looking for 'path' but the ReadModuleParams schema
defines 'module_path'. This caused the tool to fail with 'Missing
required parameter: path' when the LLM correctly used 'module_path'.

Signed-off-by: rabi <[email protected]>
Copy link
Collaborator

@DOsinga DOsinga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice. thanks. we could consider turning it into a string constant so we are always sure we use the same thing in the three places where it is used

@rabi
Copy link
Contributor Author

rabi commented Dec 18, 2025

Nice. thanks. we could consider turning it into a string constant so we are always sure we use the same thing in the three places where it is used

We could, but I've left it as inline string literal for consistency with existing codebase patterns. Please see similar usage in ExecuteCodeParams.code, SearchModulesParams.terms, and throughout providers/utils.rs, providers/formats/google.rs. If we want to adopt constants, that could be a separate effort across the codebase probably(?).

@DOsinga
Copy link
Collaborator

DOsinga commented Dec 18, 2025

fair enough. we should though

@DOsinga DOsinga merged commit f98ef3c into block:main Dec 18, 2025
16 checks passed
zanesq added a commit that referenced this pull request Dec 18, 2025
* 'main' of github.com:block/goose: (28 commits)
  Clean PR preview sites from gh-pages branch history (#6161)
  fix: make goose reviewer less sycophantic (#6171)
  revert /reply to previous behavior (replacing session history) when full conversation provided (#6058)
  chore: manually update version (#6166)
  Integrate pricing with canonical model (#6130)
  Regenerate canonical models when release branch is created. (#6127)
  fix: use correct parameter name in read_module handler (#6148)
  docs: blog for code mode MCP (#6126)
  test: add ACP integration test (#6150)
  docs: auto download updates (#6163)
  fix: respect default_enabled value of platform extensions (#6159)
  docs: skills (#6062)
  fix: add conditional configuration for GOOSE_BIN_DIR in PATH (#5940)
  Update dependencies to help in Fedora packaging (#5835)
  fix: make goose reviewer less bad (#6154)
  docs: create/edit recipe button (#6145)
  fix(google): Fix 400 Bad Request error with Gemini 3 thought signatures (#6035)
  fix: we don't need to warn about tool count when in code mode (#6149)
  deps: upgrade agent-client-protocol to 0.9.0 (#6109)
  fix(providers): fix for gemini-cli on windows to work around cmd's multiline prompt limitations #5911 (#5966)
  ...

# Conflicts:
#	ui/desktop/src/api/sdk.gen.ts
#	ui/desktop/src/hooks/useAgent.ts
bkvarda pushed a commit to bkvarda/goose that referenced this pull request Dec 19, 2025
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