Przeglądaj źródła

chore: make it so the small model also is always considered a subagent

This will make it so the quota is not used when generating the title.
Kujtim Hoxha 1 miesiąc temu
rodzic
commit
c70d34db16
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      internal/agent/coordinator.go

+ 1 - 1
internal/agent/coordinator.go

@@ -466,7 +466,7 @@ func (c *coordinator) buildAgentModels(ctx context.Context, isSubAgent bool) (Mo
 		return Model{}, Model{}, errors.New("large model provider not configured")
 	}
 
-	smallProvider, err := c.buildProvider(smallProviderCfg, largeModelCfg, isSubAgent)
+	smallProvider, err := c.buildProvider(smallProviderCfg, largeModelCfg, true)
 	if err != nil {
 		return Model{}, Model{}, err
 	}