Skip to content

Commit 6266259

Browse files
authored
Merge pull request #44 from vincent99/main
Print tool descriptions in --list-tools
2 parents b0fa1b2 + 222a7cb commit 6266259

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/types/tool.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func (t Tool) String() string {
5454
_, _ = fmt.Fprintf(buf, "Name: %s\n", t.Parameters.Name)
5555
}
5656
if t.Parameters.Description != "" {
57-
_, _ = fmt.Fprintf(buf, "Description: %s\n", t.Parameters.Name)
57+
_, _ = fmt.Fprintf(buf, "Description: %s\n", t.Parameters.Description)
5858
}
5959
if len(t.Parameters.Tools) != 0 {
6060
_, _ = fmt.Fprintf(buf, "Tools: %s\n", strings.Join(t.Parameters.Tools, ", "))

0 commit comments

Comments
 (0)