фикс каналов

This commit is contained in:
huker667 committed 2026-08-03 09:45:12 +03:00
1 parent a14713a286
commit 02730e8e3e
1 file changed
+1 -1
+1 -1
View File
@@ -313,7 +313,7 @@ async def generate(
print(f"{RED} -- err photo - {e} : {model}{RESET}") print(f"{RED} -- err photo - {e} : {model}{RESET}")
content += [{"type": "text", "text": prompt}] content += [{"type": "text", "text": prompt}]
messages = [{"role": "system", "content": SYSTEM_PROMPTS[DEFAULT_PROMPT]+ADD_TO_PROMPT+OLD_MD}] + [ messages = [{"role": "system", "content": SYSTEM_PROMPTS[DEFAULT_PROMPT]["text"]+ADD_TO_PROMPT+OLD_MD}] + [
{"role": "user", "content": content} {"role": "user", "content": content}
] ]