mirror of
https://github.com/nomic-ai/gpt4all
synced 2024-11-02 09:40:42 +00:00
18 lines
375 B
Go
18 lines
375 B
Go
|
package gpt4all_test
|
||
|
|
||
|
import (
|
||
|
. "github.com/nomic-ai/gpt4all/gpt4all-bindings/golang"
|
||
|
. "github.com/onsi/ginkgo/v2"
|
||
|
. "github.com/onsi/gomega"
|
||
|
)
|
||
|
|
||
|
var _ = Describe("LLama binding", func() {
|
||
|
Context("Declaration", func() {
|
||
|
It("fails with no model", func() {
|
||
|
model, err := New("not-existing")
|
||
|
Expect(err).To(HaveOccurred())
|
||
|
Expect(model).To(BeNil())
|
||
|
})
|
||
|
})
|
||
|
})
|