This application is a simple proof of concept demonstrating an agent capable of taking a prompt and generating a patch implementing code satisfying the prompt along with an accompanying unit test.
11 lines
305 B
Cheetah
11 lines
305 B
Cheetah
given the following code snippet in markdown format perform the following task:
|
|
{{ .Prompt }}
|
|
|
|
return the modified function as a code block formatted in markdown, make sure to retain as much of the preceding and
|
|
trailing context as possible
|
|
|
|
!IMPORTANT do not add any explanation
|
|
|
|
```go
|
|
{{ .Context }}
|
|
``` |