diff --git a/Dockerfile b/Dockerfile index 0c682ca..02643f3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.21.6 as build +FROM golang:1.22.0 as build WORKDIR /app diff --git a/go.mod b/go.mod index e0251ef..60d4d56 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module himbot -go 1.21.6 +go 1.22.0 require github.com/diamondburned/arikawa/v3 v3.3.4 diff --git a/lib/replicate.go b/lib/replicate.go index f92e67c..2370eb5 100644 --- a/lib/replicate.go +++ b/lib/replicate.go @@ -31,7 +31,7 @@ func ReplicateTextGeneration(prompt string) (string, error) { Events: []replicate.WebhookEventType{"start", "completed"}, } - prediction, predictionError := client.Run(context.Background(), "mistralai/mistral-7b-instruct-v0.2:79052a3adbba8116ebc6697dcba67ad0d58feff23e7aeb2f103fc9aa545f9269", input, &webhook) + prediction, predictionError := client.Run(context.Background(), "mistralai/mixtral-8x7b-instruct-v0.1:cf18decbf51c27fed6bbdc3492312c1c903222a56e3fe9ca02d6cbe5198afc10", input, &webhook) if predictionError != nil { return "", predictionError