goose icon indicating copy to clipboard operation
goose copied to clipboard

fix: correct spelling in error messages and documentation

Open sfc-gh-twhite opened this issue 9 months ago • 1 comments

This PR corrects various spelling errors found throughout the codebase in error messages, documentation, and configuration files.

Changes Made

Error Messages & Documentation: Fixed spelling errors in multiple Rust files:

  • extension.rs: Fixed "accomodate" → "accommodate" in context limit error message
  • router_tools.rs: Fixed "Imporant" → "Important" in tool selection instructions
  • system_gpt_4.1.md: Fixed "CRITIAL" → "CRITICAL" in system prompt documentation
  • oauth.rs: Fixed "recieve" → "receive" in OAuth flow comment
  • main.rs (mcp-server): Fixed "agrument" → "argument" in example prompt description

Configuration Files:

  • kubernetes_swagger.json: Fixed "classses" → "classes" in DeviceClassSpec descriptions (2 instances)

sfc-gh-twhite avatar Jun 09 '25 20:06 sfc-gh-twhite

I used https://github.com/codespell-project/codespell to do these checks. I didn't modify a few that were provider-specific or valid code shorthands.

I would be happy to help integrate something like this into CI if that would be helpful or desired. 😄

sfc-gh-twhite avatar Jun 09 '25 20:06 sfc-gh-twhite