This commit is contained in:
Cian Johnston
2026-02-25 11:38:05 +00:00
parent 0cbe6ff0da
commit 1e82dabcb0
5 changed files with 7 additions and 8 deletions
-1
View File
@@ -8,7 +8,6 @@ import (
"charm.land/fantasy"
fantasyopenai "charm.land/fantasy/providers/openai"
"github.com/google/uuid"
"github.com/sqlc-dev/pqtype"
"github.com/stretchr/testify/require"
-1
View File
@@ -19,7 +19,6 @@ import (
"charm.land/fantasy"
fantasyopenai "charm.land/fantasy/providers/openai"
"github.com/google/uuid"
"github.com/spf13/afero"
"github.com/sqlc-dev/pqtype"
+1 -1
View File
@@ -22,7 +22,6 @@ import (
"tailscale.com/util/singleflight"
"cdr.dev/slog/v3"
"github.com/coder/coder/v2/agent"
"github.com/coder/coder/v2/coderd/database"
"github.com/coder/coder/v2/coderd/database/dbauthz"
@@ -322,6 +321,7 @@ func (s *localMode) EnsureWorkspaceBinding(
}
return binding, nil
}
func (s *localMode) ensureLocalChatTemplate(
ctx context.Context,
client *codersdk.Client,
+6 -4
View File
@@ -18,10 +18,12 @@ import (
var ErrSubagentNotDescendant = xerrors.New("target chat is not a descendant of current chat")
const defaultSubagentAwaitTimeout = 5 * time.Minute
const subagentAwaitPollInterval = 200 * time.Millisecond
const subagentReportToolCallIDPrefix = "subagent_report_"
const defaultFallbackSubagentReport = "Sub-agent completed without explicit report."
const (
defaultSubagentAwaitTimeout = 5 * time.Minute
subagentAwaitPollInterval = 200 * time.Millisecond
subagentReportToolCallIDPrefix = "subagent_report_"
defaultFallbackSubagentReport = "Sub-agent completed without explicit report."
)
const (
subagentEventRequest = "request"
-1
View File
@@ -16,7 +16,6 @@ import (
"time"
"charm.land/fantasy"
"github.com/go-chi/chi/v5"
"github.com/google/uuid"
"github.com/sqlc-dev/pqtype"