From e8bc8aeed362be08122d1715da355325c505c320 Mon Sep 17 00:00:00 2001 From: conneroisu Date: Wed, 16 Oct 2024 14:42:29 -0400 Subject: [PATCH] ncrease max tokens to 10 in models_test --- README.md | 2 +- models.go | 2 +- models_test.go | 34 ++++++++++----------- scripts/generate-models/models_test.go.tmpl | 2 +- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index fe2a177..572b111 100644 --- a/README.md +++ b/README.md @@ -85,7 +85,7 @@ API Documentation: https://console.groq.com/docs/quickstart Code generated by groq\-modeler DO NOT EDIT. -Created at: 2024\-10\-16 14:32:20 +Created at: 2024\-10\-16 14:42:25 groq\-modeler Version 1.1.2 diff --git a/models.go b/models.go index b6a3d33..83ea6c6 100644 --- a/models.go +++ b/models.go @@ -1,6 +1,6 @@ // Code generated by groq-modeler DO NOT EDIT. // -// Created at: 2024-10-16 14:32:20 +// Created at: 2024-10-16 14:42:25 // // groq-modeler Version 1.1.2 package groq diff --git a/models_test.go b/models_test.go index ac7c52a..7335fa3 100644 --- a/models_test.go +++ b/models_test.go @@ -1,6 +1,6 @@ // Code generated by groq-modeler DO NOT EDIT. // -// Created at: 2024-10-16 14:32:20 +// Created at: 2024-10-16 14:42:25 // // groq-modeler Version 1.1.2 package groq @@ -34,7 +34,7 @@ func TestChatModelsGemma29BIt(t *testing.T) { Content: "What is a proface display?", }, }, - MaxTokens: 5, + MaxTokens: 10, RetryDelay: time.Second * 2, }) a.NoError(err, "CreateChatCompletionJSON error") @@ -63,7 +63,7 @@ func TestChatModelsGemma7BIt(t *testing.T) { Content: "What is a proface display?", }, }, - MaxTokens: 5, + MaxTokens: 10, RetryDelay: time.Second * 2, }) a.NoError(err, "CreateChatCompletionJSON error") @@ -92,7 +92,7 @@ func TestChatModelsLlama3170BVersatile(t *testing.T) { Content: "What is a proface display?", }, }, - MaxTokens: 5, + MaxTokens: 10, RetryDelay: time.Second * 2, }) a.NoError(err, "CreateChatCompletionJSON error") @@ -121,7 +121,7 @@ func TestChatModelsLlama318BInstant(t *testing.T) { Content: "What is a proface display?", }, }, - MaxTokens: 5, + MaxTokens: 10, RetryDelay: time.Second * 2, }) a.NoError(err, "CreateChatCompletionJSON error") @@ -150,7 +150,7 @@ func TestChatModelsLlama3211BTextPreview(t *testing.T) { Content: "What is a proface display?", }, }, - MaxTokens: 5, + MaxTokens: 10, RetryDelay: time.Second * 2, }) a.NoError(err, "CreateChatCompletionJSON error") @@ -179,7 +179,7 @@ func TestChatModelsLlama3211BVisionPreview(t *testing.T) { Content: "What is a proface display?", }, }, - MaxTokens: 5, + MaxTokens: 10, RetryDelay: time.Second * 2, }) a.NoError(err, "CreateChatCompletionJSON error") @@ -208,7 +208,7 @@ func TestChatModelsLlama321BPreview(t *testing.T) { Content: "What is a proface display?", }, }, - MaxTokens: 5, + MaxTokens: 10, RetryDelay: time.Second * 2, }) a.NoError(err, "CreateChatCompletionJSON error") @@ -237,7 +237,7 @@ func TestChatModelsLlama323BPreview(t *testing.T) { Content: "What is a proface display?", }, }, - MaxTokens: 5, + MaxTokens: 10, RetryDelay: time.Second * 2, }) a.NoError(err, "CreateChatCompletionJSON error") @@ -266,7 +266,7 @@ func TestChatModelsLlama3290BTextPreview(t *testing.T) { Content: "What is a proface display?", }, }, - MaxTokens: 5, + MaxTokens: 10, RetryDelay: time.Second * 2, }) a.NoError(err, "CreateChatCompletionJSON error") @@ -295,7 +295,7 @@ func TestChatModelsLlama3290BVisionPreview(t *testing.T) { Content: "What is a proface display?", }, }, - MaxTokens: 5, + MaxTokens: 10, RetryDelay: time.Second * 2, }) a.NoError(err, "CreateChatCompletionJSON error") @@ -324,7 +324,7 @@ func TestChatModelsLlama370B8192(t *testing.T) { Content: "What is a proface display?", }, }, - MaxTokens: 5, + MaxTokens: 10, RetryDelay: time.Second * 2, }) a.NoError(err, "CreateChatCompletionJSON error") @@ -353,7 +353,7 @@ func TestChatModelsLlama38B8192(t *testing.T) { Content: "What is a proface display?", }, }, - MaxTokens: 5, + MaxTokens: 10, RetryDelay: time.Second * 2, }) a.NoError(err, "CreateChatCompletionJSON error") @@ -382,7 +382,7 @@ func TestChatModelsLlama3Groq70B8192ToolUsePreview(t *testing.T) { Content: "What is a proface display?", }, }, - MaxTokens: 5, + MaxTokens: 10, RetryDelay: time.Second * 2, }) a.NoError(err, "CreateChatCompletionJSON error") @@ -411,7 +411,7 @@ func TestChatModelsLlama3Groq8B8192ToolUsePreview(t *testing.T) { Content: "What is a proface display?", }, }, - MaxTokens: 5, + MaxTokens: 10, RetryDelay: time.Second * 2, }) a.NoError(err, "CreateChatCompletionJSON error") @@ -440,7 +440,7 @@ func TestChatModelsLlavaV157B4096Preview(t *testing.T) { Content: "What is a proface display?", }, }, - MaxTokens: 5, + MaxTokens: 10, RetryDelay: time.Second * 2, }) a.NoError(err, "CreateChatCompletionJSON error") @@ -469,7 +469,7 @@ func TestChatModelsMixtral8X7B32768(t *testing.T) { Content: "What is a proface display?", }, }, - MaxTokens: 5, + MaxTokens: 10, RetryDelay: time.Second * 2, }) a.NoError(err, "CreateChatCompletionJSON error") diff --git a/scripts/generate-models/models_test.go.tmpl b/scripts/generate-models/models_test.go.tmpl index 5cbb0ac..4c0b437 100644 --- a/scripts/generate-models/models_test.go.tmpl +++ b/scripts/generate-models/models_test.go.tmpl @@ -35,7 +35,7 @@ func TestChatModels{{ $model.Name }}(t *testing.T) { Content: "What is a proface display?", }, }, - MaxTokens: 5, + MaxTokens: 10, RetryDelay: time.Second * 2, }) a.NoError(err, "CreateChatCompletionJSON error")