mirror of
https://github.com/mudler/LocalAI.git
synced 2026-10-21 13:54:29 -04:00
feat: add bert.cpp embeddings (#222)
This commit is contained in:
1 parent
e6db14e2f1
commit
f8ee20991c
14 files changed
+104
-53
No files matched your search
+1
-1
@@ -79,7 +79,7 @@ var _ = Describe("API test", func() {
|
||||
It("returns errors", func() {
|
||||
_, err := client.CreateCompletion(context.TODO(), openai.CompletionRequest{Model: "foomodel", Prompt: "abcdedfghikl"})
|
||||
Expect(err).To(HaveOccurred())
|
||||
Expect(err.Error()).To(ContainSubstring("error, status code: 500, message: could not load model - all backends returned error: 5 errors occurred:"))
|
||||
Expect(err.Error()).To(ContainSubstring("error, status code: 500, message: could not load model - all backends returned error: 6 errors occurred:"))
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user