Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Linville <grant@acorn.io>
  • Loading branch information
g-linville committed Aug 20, 2024
1 parent 1a51fdb commit 260bbea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/types/toolstring.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func ToSysDisplayString(id string, args map[string]string) (string, error) {
case "sys.openapi":
if os.Getenv("GPTSCRIPT_OPENAPI_REVAMP") == "true" && args["operation"] != "" {
// Pretty print the JSON by unmarshaling and marshaling it
var jsonArgs map[string]interface{}
var jsonArgs map[string]any
if err := json.Unmarshal([]byte(args["args"]), &jsonArgs); err != nil {
return "", err
}
Expand Down

0 comments on commit 260bbea

Please sign in to comment.