Git designed for AI agents.
graft: gofmt
Federico Elia10bedfa67174
diff --git a/tools/graft-agents/llm/openai/openai.go b/tools/graft-agents/llm/openai/openai.goindex ccf7d69..7c4d462 100644--- a/tools/graft-agents/llm/openai/openai.go+++ b/tools/graft-agents/llm/openai/openai.go@@ -371,7 +371,7 @@ type chatResponse struct {Model string `json:"model"`// Provider is the provider that served the call, as OpenRouter reports it.Provider string `json:"provider"`- Choices []struct {+ Choices []struct {Message struct {Content *string `json:"content"`Refusal *string `json:"refusal"`diff --git a/tools/graft-agents/resolve/bench/run.go b/tools/graft-agents/resolve/bench/run.goindex 4595982..ab86eef 100644--- a/tools/graft-agents/resolve/bench/run.go+++ b/tools/graft-agents/resolve/bench/run.go@@ -69,13 +69,13 @@ type Result struct {// ModelAbstained marks an abstained result that is the model's answer (PLAN10 15.10); Calls and// Repairs count the model calls of the case and those that were repair rounds; Report is the// composition report of an accepted answer (PLAN10 15.3).- ModelAbstained bool `json:"model_abstained,omitempty"`- Calls int `json:"calls,omitempty"`+ ModelAbstained bool `json:"model_abstained,omitempty"`+ Calls int `json:"calls,omitempty"`// Providers counts the model calls of the case by the provider that served them, as the endpoint// reports it (a run with routing pinned to a provider shows here that it stayed there).Providers map[string]int `json:"providers,omitempty"`- Repairs int `json:"repairs,omitempty"`- Report []string `json:"report,omitempty"`+ Repairs int `json:"repairs,omitempty"`+ Report []string `json:"report,omitempty"`// LineEndings are those of the sides of a content conflict (resolve.LLMLineEndings): the llm// strategy sends a CRLF file as LF, and a mixed one as it is.LineEndings string `json:"line_endings,omitempty"`