cerebras_instruct
Generate code with detailed instructions and documentation. Produces typed interfaces and specs from precise prompts and optional context files.
Instructions
Instruction-following code generation using Cerebras zai-glm-4.7 (355B params, reasoning_format:hidden). Instruction-tuned model for precise instruction following, documentation-heavy code, typed interfaces, and detailed specs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | REQUIRED: Detailed code generation instructions. Include method signatures, data structures, error handling requirements, and integration details. | |
| file_path | Yes | REQUIRED: Absolute path to the file to create or modify. | |
| max_tokens | No | OPTIONAL: Maximum tokens in the response. | |
| temperature | No | OPTIONAL: Sampling temperature (default 0.1). | |
| context_files | No | OPTIONAL: Array of file paths to read as context for the generation. |