mirror of
https://github.com/coder/coder.git
synced 2026-10-16 14:48:56 +08:00
make fmt
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -16,7 +16,6 @@ import (
|
||||
"time"
|
||||
|
||||
"charm.land/fantasy"
|
||||
|
||||
"github.com/go-chi/chi/v5"
|
||||
"github.com/google/uuid"
|
||||
"github.com/sqlc-dev/pqtype"
|
||||
|
||||
Reference in New Issue
Block a user