Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
114c3f22
Unverified
Commit
114c3f22
authored
Aug 07, 2025
by
Daniel Hiltgen
Committed by
GitHub
Aug 07, 2025
Browse files
tests: add integration coverage for oss-gpt (#11696)
Also wires up support to override the default "smol" model
parent
f2e9c9af
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
integration/utils_test.go
integration/utils_test.go
+9
-2
No files found.
integration/utils_test.go
View file @
114c3f22
...
...
@@ -28,7 +28,7 @@ import (
"github.com/stretchr/testify/require"
)
const
(
var
(
smol
=
"llama3.2:1b"
)
...
...
@@ -37,6 +37,7 @@ var (
// Note: add newer models at the top of the list to test them first
ollamaEngineChatModels
=
[]
string
{
"gpt-oss:20b"
,
"gemma3n:e2b"
,
"mistral-small3.2:latest"
,
"deepseek-r1:1.5b"
,
...
...
@@ -126,6 +127,7 @@ var (
"gemma3n"
,
"glm4"
,
"goliath"
,
"gpt-oss:20b"
,
"granite-code"
,
"granite3-dense"
,
"granite3-guardian"
,
...
...
@@ -255,8 +257,13 @@ var (
}
)
func
I
nit
()
{
func
i
nit
()
{
lifecycle
.
InitLogging
()
custom
:=
os
.
Getenv
(
"OLLAMA_TEST_SMOL_MODEL"
)
if
custom
!=
""
{
slog
.
Info
(
"setting smol test model to "
+
custom
)
smol
=
custom
}
}
func
FindPort
()
string
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment