Skip to content

Commit

Permalink
use id as tool name
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianliechti committed Dec 20, 2024
1 parent 5a4b1c6 commit 0d6af67
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/config_tool.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ func (cfg *Config) registerTools(f *configFile) error {
context.Synthesizer = p
}

if config.Name == "" {
config.Name = id
}

tool, err := createTool(config, context)

if err != nil {
Expand Down

0 comments on commit 0d6af67

Please sign in to comment.