File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 - main
88 pull_request :
99 paths :
10- - providers/ anthropic/**
10+ - anthropic/**
1111 - .github/workflows/anthropic.yml
1212
1313jobs :
@@ -18,14 +18,14 @@ jobs:
1818 runs-on : ${{ matrix.os }}
1919 defaults :
2020 run :
21- working-directory : ./providers/ anthropic
21+ working-directory : ./anthropic
2222 steps :
2323 - uses : actions/checkout@v4
2424 - uses : actions/setup-go@v5
2525 with :
26- go-version-file : ./providers/ anthropic/go.mod
26+ go-version-file : ./anthropic/go.mod
2727 cache : true
28- cache-dependency-path : ./providers/ anthropic/go.sum
28+ cache-dependency-path : ./anthropic/go.sum
2929 - run : go build -v ./...
3030 - run : go test -race -v ./...
3131
5151 lint :
5252 uses : charmbracelet/meta/.github/workflows/lint.yml@main
5353 with :
54- directory : ./providers/ anthropic/...
54+ directory : ./anthropic/...
5555 golangci_path : .golangci.yml
5656
Original file line number Diff line number Diff line change 77 - main
88 pull_request :
99 paths :
10- - providers/ openai/**
10+ - openai/**
1111 - .github/workflows/openai.yml
1212
1313jobs :
@@ -18,14 +18,14 @@ jobs:
1818 runs-on : ${{ matrix.os }}
1919 defaults :
2020 run :
21- working-directory : ./providers/ openai
21+ working-directory : ./openai
2222 steps :
2323 - uses : actions/checkout@v4
2424 - uses : actions/setup-go@v5
2525 with :
26- go-version-file : ./providers/ openai/go.mod
26+ go-version-file : ./openai/go.mod
2727 cache : true
28- cache-dependency-path : ./providers/ openai/go.sum
28+ cache-dependency-path : ./openai/go.sum
2929 - run : go build -v ./...
3030 - run : go test -race -v ./...
3131
5151 lint :
5252 uses : charmbracelet/meta/.github/workflows/lint.yml@main
5353 with :
54- directory : ./providers/ openai/...
54+ directory : ./openai/...
5555 golangci_path : .golangci.yml
5656
Original file line number Diff line number Diff line change 66vars :
77 PACKAGES :
88 - ./ai
9+ - ./anthropic
910 - ./examples
10- - ./providers/anthropic
11- - ./providers/openai
11+ - ./openai
1212
1313tasks :
1414 fmt :
File renamed without changes.
Original file line number Diff line number Diff line change 1- module github.com/charmbracelet/ai/providers/ anthropic
1+ module github.com/charmbracelet/ai/anthropic
22
33go 1.24.5
44
@@ -15,4 +15,4 @@ require (
1515 github.com/tidwall/sjson v1.2.5 // indirect
1616)
1717
18- replace github.com/charmbracelet/ai/ai => ../../ ai
18+ replace github.com/charmbracelet/ai/ai => ../ai
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 66 "os"
77
88 "github.com/charmbracelet/ai/ai"
9- "github.com/charmbracelet/ai/providers/ openai"
9+ "github.com/charmbracelet/ai/openai"
1010)
1111
1212func main () {
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ go 1.24.5
44
55require (
66 github.com/charmbracelet/ai/ai v0.0.0-00010101000000-000000000000
7- github.com/charmbracelet/ai/providers/ anthropic v0.0.0-00010101000000-000000000000
8- github.com/charmbracelet/ai/providers/ openai v0.0.0-00010101000000-000000000000
7+ github.com/charmbracelet/ai/anthropic v0.0.0-00010101000000-000000000000
8+ github.com/charmbracelet/ai/openai v0.0.0-00010101000000-000000000000
99)
1010
1111require (
@@ -21,6 +21,6 @@ require (
2121
2222replace github.com/charmbracelet/ai/ai => ../ai
2323
24- replace github.com/charmbracelet/ai/providers/ anthropic => ../providers /anthropic
24+ replace github.com/charmbracelet/ai/anthropic => ../anthropic
2525
26- replace github.com/charmbracelet/ai/providers/ openai => ../providers /openai
26+ replace github.com/charmbracelet/ai/openai => ../openai
Original file line number Diff line number Diff line change 66 "os"
77
88 "github.com/charmbracelet/ai/ai"
9- "github.com/charmbracelet/ai/providers/ anthropic"
9+ "github.com/charmbracelet/ai/anthropic"
1010)
1111
1212func main () {
You can’t perform that action at this time.
0 commit comments