mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-06-14 10:19:16 -04:00
refactor: Finalize agent template
This commit is contained in:
5
sources/agents/partials/openai_user.jinja
Normal file
5
sources/agents/partials/openai_user.jinja
Normal file
@@ -0,0 +1,5 @@
|
||||
{% if existsIn(msg, "images") %}
|
||||
{ "role": "user", "content": {% include "partials/openai_image_content.jinja" %} },
|
||||
{% else %}
|
||||
{ "role": "user", "content": {{ tojson(msg.content) }} },
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user