Added attachments to templates

This commit is contained in:
M66B
2024-06-16 10:29:15 +02:00
parent 18666c4b5e
commit f399facb00
10 changed files with 222 additions and 95 deletions

View File

@@ -72,7 +72,7 @@ public class AI {
DB db = DB.getInstance(context);
EntityAnswer t = db.answer().getAnswer(template);
if (t != null) {
String html = t.getHtml(context, null);
String html = t.getData(context, null).getHtml();
prompt = JsoupEx.parse(html).body().text();
}
}