@@ -65,7 +65,7 @@ type bashDescriptionData struct {
6565 BannedCommands string
6666 MaxOutputLength int
6767 Attribution config.Attribution
68− ModelName string
68+ ModelID string
6969}
7070
7171var bannedCommands = []string{
@@ -141,14 +141,14 @@ var bannedCommands = []string{
141141 "ufw",
142142}
143143
144−func bashDescription(attribution *config.Attribution, modelName string) string {
144+func bashDescription(attribution *config.Attribution, modelID string) string {
145145 bannedCommandsStr := strings.Join(bannedCommands, ", ")
146146 var out bytes.Buffer
147147 if err := bashDescriptionTpl.Execute(&out, bashDescriptionData{
148148 BannedCommands: bannedCommandsStr,
149149 MaxOutputLength: MaxOutputLength,
150150 Attribution: *attribution,
151− ModelName: modelName,
151+ ModelID: modelID,
152152 }); err != nil {
153153 // this should never happen.
154154 panic("failed to execute bash description template: " + err.Error())
@@ -188,10 +188,10 @@ func blockFuncs() []shell.BlockFunc {
188188 }
189189}
190190
191−func NewBashTool(permissions permission.Service, workingDir string, attribution *config.Attribution, modelName string) fantasy.AgentTool {
191+func NewBashTool(permissions permission.Service, workingDir string, attribution *config.Attribution, modelID string) fantasy.AgentTool {
192192 return fantasy.NewAgentTool(
193193 BashToolName,
194− string(bashDescription(attribution, modelName)),
194+ string(bashDescription(attribution, modelID)),
195195 func(ctx context.Context, params BashParams, call fantasy.ToolCall) (fantasy.ToolResponse, error) {
196196 if params.Command == "" {
197197 return fantasy.NewTextErrorResponse("missing command"), nil