draft_code_patch
Generate a minimal unified diff for a low-risk code change using a Chinese LLM. Review and test the patch before applying.
Instructions
Ask a Chinese LLM provider to draft a minimal unified diff for a small code task. Use this only for low-risk changes, then inspect and test the patch before applying it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | Yes | The code change to draft. | |
| files | Yes | Relevant file paths and contents. Keep this list small. | |
| max_tokens | No | ||
| constraints | No | Extra implementation constraints. | |
| temperature | No |