on main help sign in
chore: remove log
87bd72bKujtim Hoxha
internal/tui/components/chat/chat.go−2
@@ -2,7 +2,6 @@ package chat
2
2
3import (
3import (
4 "context"
4 "context"
5− "log/slog"
6 "time"
5 "time"
7
6
8 "github.com/charmbracelet/bubbles/v2/key"
7 "github.com/charmbracelet/bubbles/v2/key"
@@ -130,7 +129,6 @@ func (m *messageListCmp) View() string {
130
129
131func (m *messageListCmp) handlePermissionRequest(permission permission.PermissionNotification) tea.Cmd {
130func (m *messageListCmp) handlePermissionRequest(permission permission.PermissionNotification) tea.Cmd {
132 items := m.listCmp.Items()
131 items := m.listCmp.Items()
133− slog.Info("Handling permission request", "tool_call_id", permission.ToolCallID, "granted", permission.Granted)
134 if toolCallIndex := m.findToolCallByID(items, permission.ToolCallID); toolCallIndex != NotFound {
132 if toolCallIndex := m.findToolCallByID(items, permission.ToolCallID); toolCallIndex != NotFound {
135 toolCall := items[toolCallIndex].(messages.ToolCallCmp)
133 toolCall := items[toolCallIndex].(messages.ToolCallCmp)
136 toolCall.SetPermissionRequested()
134 toolCall.SetPermissionRequested()