MCPcopy Create free account
hub / github.com/alibaba/open-code-review / makeTask

Function makeTask

internal/diff/relocation_test.go:33–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31}
32
33func makeTask() *template.LlmConversation {
34 return &template.LlmConversation{
35 Timeout: 60,
36 Messages: []template.ChatMessage{
37 {Role: "system", Content: "you are a helper"},
38 {Role: "user", Content: "diff:\n{diff}\n\ncomment:\n{suggestion_content}"},
39 },
40 }
41}
42
43func makeDiff() *model.Diff {
44 return &model.Diff{

Calls

no outgoing calls

Tested by

no test coverage detected