Review Summary Optimizations (#22533)

* Use different association method

* Clarify

* Remove extra details from ollama schema

* Fix Gemini Chat

* Fix incorrect instructions

* Improve name handling

* Change order of information for llama.cpp

* Simplify prompt

* Fix formatting
This commit is contained in:
Nicolas Mowen
2026-03-19 10:39:24 -06:00
committed by GitHub
parent e2bfa26719
commit ede8b74371
5 changed files with 47 additions and 17 deletions
+6 -7
View File
@@ -64,7 +64,12 @@ class LlamaCppClient(GenAIClient):
return None
try:
content = []
content = [
{
"type": "text",
"text": prompt,
}
]
for image in images:
encoded_image = base64.b64encode(image).decode("utf-8")
content.append(
@@ -75,12 +80,6 @@ class LlamaCppClient(GenAIClient):
},
}
)
content.append(
{
"type": "text",
"text": prompt,
}
)
# Build request payload with llama.cpp native options
payload = {