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

Function makeTask

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

Source from the content-addressed store, hash-verified

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

Calls

no outgoing calls

Tested by

no test coverage detected