File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -78,6 +78,12 @@ issues:
7878 linters :
7979 - gocognit
8080 - gocyclo
81+
82+ # Allow complex message processing in adapters
83+ - path : pkg/adapters/
84+ linters :
85+ - gocyclo
86+ - gocognit
8187
8288 max-issues-per-linter : 0
8389 max-same-issues : 0
Original file line number Diff line number Diff line change @@ -9,14 +9,15 @@ import (
99 "syscall"
1010 "time"
1111
12+ "github.com/spf13/cobra"
13+ "github.com/spf13/viper"
14+
1215 _ "github.com/kevinelliott/agentpipe/pkg/adapters"
1316 "github.com/kevinelliott/agentpipe/pkg/agent"
1417 "github.com/kevinelliott/agentpipe/pkg/config"
1518 "github.com/kevinelliott/agentpipe/pkg/logger"
1619 "github.com/kevinelliott/agentpipe/pkg/orchestrator"
1720 "github.com/kevinelliott/agentpipe/pkg/tui"
18- "github.com/spf13/cobra"
19- "github.com/spf13/viper"
2021)
2122
2223var (
Original file line number Diff line number Diff line change 55 "os"
66 "time"
77
8- "github.com/kevinelliott/agentpipe/pkg/agent"
98 "gopkg.in/yaml.v3"
9+
10+ "github.com/kevinelliott/agentpipe/pkg/agent"
1011)
1112
1213type Config struct {
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import (
1010 "time"
1111
1212 "github.com/charmbracelet/lipgloss"
13+
1314 "github.com/kevinelliott/agentpipe/pkg/agent"
1415)
1516
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import (
1111 "github.com/charmbracelet/bubbles/viewport"
1212 tea "github.com/charmbracelet/bubbletea"
1313 "github.com/charmbracelet/lipgloss"
14+
1415 "github.com/kevinelliott/agentpipe/pkg/agent"
1516 "github.com/kevinelliott/agentpipe/pkg/config"
1617)
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ import (
1010 "github.com/charmbracelet/bubbles/viewport"
1111 tea "github.com/charmbracelet/bubbletea"
1212 "github.com/charmbracelet/lipgloss"
13+
1314 "github.com/kevinelliott/agentpipe/pkg/agent"
1415 "github.com/kevinelliott/agentpipe/pkg/config"
1516 "github.com/kevinelliott/agentpipe/pkg/orchestrator"
@@ -230,7 +231,7 @@ func (m Model) startConversation() tea.Cmd {
230231
231232 go func () {
232233 for range writer .messageChan {
233-
234+ // Drain the channel
234235 }
235236 }()
236237
You can’t perform that action at this time.
0 commit comments