goose
goose copied to clipboard
fix: correct spelling in error messages and documentation
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)
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. 😄