mirror of
https://github.com/Palm1r/QodeAssist.git
synced 2026-06-15 10:49:18 -04:00
refactor: Finalize agent template
This commit is contained in:
9
sources/agents/partials/anthropic_image.jinja
Normal file
9
sources/agents/partials/anthropic_image.jinja
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"type": "image",
|
||||
"source":
|
||||
{% if b.is_url %}
|
||||
{ "type": "url", "url": {{ tojson(b.data) }} }
|
||||
{% else %}
|
||||
{ "type": "base64", "media_type": {{ tojson(b.media_type) }}, "data": {{ tojson(b.data) }} }
|
||||
{% endif %}
|
||||
},
|
||||
Reference in New Issue
Block a user