Persist history. Refactor.

This commit is contained in:
Ole Morud
2023-05-28 20:59:19 +02:00
parent 75383e052a
commit cef3e80119
4 changed files with 154 additions and 65 deletions

7
go.mod
View File

@@ -7,4 +7,9 @@ require (
github.com/sashabaranov/go-openai v1.9.4
)
require golang.org/x/sys v0.1.0 // indirect
require (
github.com/dlclark/regexp2 v1.8.1 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/pkoukk/tiktoken-go v0.1.1 // indirect
golang.org/x/sys v0.1.0 // indirect
)