code_solve
Leverage Chain of Draft reasoning to solve coding problems efficiently by generating minimal intermediate steps, optimizing token usage while maintaining accuracy.
Instructions
Solve a coding problem using Chain of Draft reasoning
Input Schema
Name | Required | Description | Default |
---|---|---|---|
approach | No | Force 'CoD' or 'CoT' approach | |
max_words_per_step | No | Maximum words per reasoning step | |
problem | Yes | The coding problem to solve |