@@ -71,7 +71,6 @@ type Coordinator interface {
7171 Summarize(context.Context, string) error
7272 Model() Model
7373 UpdateModels(ctx context.Context) error
74− RefreshTools(ctx context.Context) error
7574}
7675
7776type coordinator struct {
@@ -905,21 +904,6 @@ func (c *coordinator) UpdateModels(ctx context.Context) error {
905904 return nil
906905}
907906
908−func (c *coordinator) RefreshTools(ctx context.Context) error {
909− agentCfg, ok := c.cfg.Config().Agents[config.AgentCoder]
910− if !ok {
911− return errors.New("coder agent not configured")
912− }
913−
914− tools, err := c.buildTools(ctx, agentCfg)
915− if err != nil {
916− return err
917− }
918− c.currentAgent.SetTools(tools)
919− slog.Debug("refreshed agent tools", "count", len(tools))
920− return nil
921−}
922−
923907func (c *coordinator) QueuedPrompts(sessionID string) int {
924908 return c.currentAgent.QueuedPrompts(sessionID)
925909}