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
10 changes: 0 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,6 @@ jobs:
with:
go-version: ${{ matrix.go }}

- name: Cache Go modules
uses: actions/cache@v5
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum', '**/go.mod') }}
restore-keys: |
${{ runner.os }}-go-

- name: Download dependencies
run: go mod download

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/anthropic.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
// AnthropicRequest represents an Anthropic API request.
type AnthropicRequest struct {
Model string `json:"model"`
MaxTokens int `json:"max_tokens"`
MaxTokens int `json:"max_tokens"` //nolint:tagliatelle // Anthropic API requires snake_case
Messages []AnthropicMessage `json:"messages"`
}

Expand Down
2 changes: 1 addition & 1 deletion internal/provider/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ type ProviderInfo struct {
type ChatRequest struct {
Model string `json:"model"`
Messages []Message `json:"messages"`
MaxTokens int `json:"max_tokens"`
MaxTokens int `json:"max_tokens"` //nolint:tagliatelle // upstream APIs require snake_case
}

// Message represents a chat message.
Expand Down
Loading