remove template from tests
This commit is contained in:
parent
e5c65a85df
commit
9ac0a7a50b
1 changed files with 0 additions and 3 deletions
|
@ -59,7 +59,6 @@ func TestModelfileBuilder(t *testing.T) {
|
||||||
opts := runOptions{
|
opts := runOptions{
|
||||||
Model: "hork",
|
Model: "hork",
|
||||||
System: "You are part horse and part shark, but all hork. Do horklike things",
|
System: "You are part horse and part shark, but all hork. Do horklike things",
|
||||||
Template: "This is a template.",
|
|
||||||
Messages: []api.Message{
|
Messages: []api.Message{
|
||||||
{Role: "user", Content: "Hey there hork!"},
|
{Role: "user", Content: "Hey there hork!"},
|
||||||
{Role: "assistant", Content: "Yes it is true, I am half horse, half shark."},
|
{Role: "assistant", Content: "Yes it is true, I am half horse, half shark."},
|
||||||
|
@ -75,7 +74,6 @@ func TestModelfileBuilder(t *testing.T) {
|
||||||
mf := buildModelfile(opts)
|
mf := buildModelfile(opts)
|
||||||
expectedModelfile := `FROM {{.Model}}
|
expectedModelfile := `FROM {{.Model}}
|
||||||
SYSTEM """{{.System}}"""
|
SYSTEM """{{.System}}"""
|
||||||
TEMPLATE """{{.Template}}"""
|
|
||||||
PARAMETER penalize_newline false
|
PARAMETER penalize_newline false
|
||||||
PARAMETER seed 42
|
PARAMETER seed 42
|
||||||
PARAMETER stop [hi there]
|
PARAMETER stop [hi there]
|
||||||
|
@ -97,7 +95,6 @@ MESSAGE assistant """Yes it is true, I am half horse, half shark."""
|
||||||
mf = buildModelfile(opts)
|
mf = buildModelfile(opts)
|
||||||
expectedModelfile = `FROM {{.ParentModel}}
|
expectedModelfile = `FROM {{.ParentModel}}
|
||||||
SYSTEM """{{.System}}"""
|
SYSTEM """{{.System}}"""
|
||||||
TEMPLATE """{{.Template}}"""
|
|
||||||
PARAMETER penalize_newline false
|
PARAMETER penalize_newline false
|
||||||
PARAMETER seed 42
|
PARAMETER seed 42
|
||||||
PARAMETER stop [hi there]
|
PARAMETER stop [hi there]
|
||||||
|
|
Loading…
Reference in a new issue