Code Assistant
bee_codeExplain code, fix bugs, refactor code, or generate tests by sending code and an action; returns text and proposed code without reading files or changing repositories.
Instructions
Use for code explanation, bug fixing, refactoring, or test generation. Returns text and proposed code; it does not read files, execute commands, or modify a repository. Choose the intended operation with action.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code | |
| error | No | Error message / bug description (for action=fix) | |
| focus | No | What to optimise for (for action=refactor) | |
| action | Yes | What to do with the code | |
| language | No | Programming language | python |
| framework | No | Test framework (for action=write_tests) |