Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
- [Quick Install](#quick-install)
- [Homebrew](#homebrew)
- [Manual Download](#manual-download)
- [Install from Main (Latest Development Version)](#install-from-main-latest-development-version)
- [Post-Installation Setup](#post-installation-setup)
- [TmuxAI Layout](#tmuxai-layout)
- [Observe Mode](#observe-mode)
Expand Down Expand Up @@ -104,6 +105,16 @@ chmod +x ./tmuxai
sudo mv ./tmuxai /usr/local/bin/
```

### Install from Main

To install the latest development version directly from the main branch:

```bash
go install github.com/alvinunreal/tmuxai@master
```

**Note:** The main branch contains the latest features and fixes but may be less stable than official releases.

## Post-Installation Setup

After installing TmuxAI, you need to configure your API key to start using it:
Expand Down
5 changes: 2 additions & 3 deletions internal/squash.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,8 @@ func (m *Manager) summarizeChatHistory(messages []ChatMessage) (string, error) {
},
}

// Create a context for the summarization request
ctx, cancel := context.WithTimeout(context.Background(), 30*time.Second)
defer cancel()
// Create a context for the summarization request (no timeout to support local LLMs with large contexts)
ctx := context.Background()

summary, err := m.AiClient.GetResponseFromChatMessages(ctx, summarizationMessage, m.GetOpenRouterModel())
if err != nil {
Expand Down