From c70d34db16b603bc5cfd9b861f2eae492df552dd Mon Sep 17 00:00:00 2001 From: Kujtim Hoxha Date: Mon, 5 Jan 2026 12:34:33 +0100 Subject: [PATCH] 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. --- internal/agent/coordinator.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/agent/coordinator.go b/internal/agent/coordinator.go index 6a4293bbdae0c3ad5150d4cfa7c4a064c20e6af4..ff9e746220e1b2e4acc481259343f30ca39e030b 100644 --- a/internal/agent/coordinator.go +++ b/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 }