mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-23 17:57:04 -05:00
Set model in llama.cpp config
This commit is contained in:
@@ -67,6 +67,7 @@ class LlamaCppClient(GenAIClient):
|
||||
|
||||
# Build request payload with llama.cpp native options
|
||||
payload = {
|
||||
"model": self.genai_config.model,
|
||||
"messages": [
|
||||
{
|
||||
"role": "user",
|
||||
@@ -134,6 +135,7 @@ class LlamaCppClient(GenAIClient):
|
||||
openai_tool_choice = "required"
|
||||
|
||||
payload = {
|
||||
"model": self.genai_config.model,
|
||||
"messages": messages,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user