mirror of
https://github.com/mudler/LocalAI.git
synced 2025-05-20 02:24:59 +00:00
fix: typos (#5376)
Signed-off-by: omahs <73983677+omahs@users.noreply.github.com>
This commit is contained in:
parent
525cf198be
commit
0f365ac204
13 changed files with 15 additions and 15 deletions
|
@ -179,7 +179,7 @@ var _ = Describe("Download Test", func() {
|
|||
})
|
||||
|
||||
AfterEach(func() {
|
||||
os.Remove(filePath) // cleanup, also checks existance of filePath`
|
||||
os.Remove(filePath) // cleanup, also checks existence of filePath`
|
||||
os.Remove(filePath + ".partial")
|
||||
})
|
||||
})
|
||||
|
|
|
@ -16,7 +16,7 @@ import (
|
|||
|
||||
// new idea: what if we declare a struct of these here, and use a loop to check?
|
||||
|
||||
// TODO: Split ModelLoader and TemplateLoader? Just to keep things more organized. Left together to share a mutex until I look into that. Would split if we seperate directories for .bin/.yaml and .tmpl
|
||||
// TODO: Split ModelLoader and TemplateLoader? Just to keep things more organized. Left together to share a mutex until I look into that. Would split if we separate directories for .bin/.yaml and .tmpl
|
||||
type ModelLoader struct {
|
||||
ModelPath string
|
||||
mu sync.Mutex
|
||||
|
|
|
@ -255,7 +255,7 @@ func (e *Evaluator) TemplateMessages(messages []schema.Message, config *config.B
|
|||
marshalAny(i.ToolCalls)
|
||||
}
|
||||
}
|
||||
// Special Handling: System. We care if it was printed at all, not the r branch, so check seperately
|
||||
// Special Handling: System. We care if it was printed at all, not the r branch, so check separately
|
||||
if contentExists && role == "system" {
|
||||
suppressConfigSystemPrompt = true
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue