Skip to content

Commit

Permalink
Merge pull request #44 from vincent99/main
Browse files Browse the repository at this point in the history
Print tool descriptions in --list-tools
  • Loading branch information
vincent99 authored Feb 15, 2024
2 parents b0fa1b2 + 222a7cb commit 6266259
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/types/tool.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (t Tool) String() string {
_, _ = fmt.Fprintf(buf, "Name: %s\n", t.Parameters.Name)
}
if t.Parameters.Description != "" {
_, _ = fmt.Fprintf(buf, "Description: %s\n", t.Parameters.Name)
_, _ = fmt.Fprintf(buf, "Description: %s\n", t.Parameters.Description)
}
if len(t.Parameters.Tools) != 0 {
_, _ = fmt.Fprintf(buf, "Tools: %s\n", strings.Join(t.Parameters.Tools, ", "))
Expand Down

0 comments on commit 6266259

Please sign in to comment.