mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-06-14 18:29:30 -04:00
refactor: Finalize agent template
This commit is contained in:
6
sources/agents/partials/google_contents.jinja
Normal file
6
sources/agents/partials/google_contents.jinja
Normal file
@@ -0,0 +1,6 @@
|
||||
{% for msg in ctx.history %}
|
||||
{
|
||||
"role": {% if msg.role == "assistant" %}"model"{% else %}"user"{% endif %},
|
||||
"parts": [ {% for b in msg.content_blocks %}{% include "partials/google_part.jinja" %}{% endfor %} ]
|
||||
},
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user