Files
QodeAssist/sources/agents/ollama_base_fim.toml
2026-06-28 17:38:08 +02:00

15 lines
488 B
TOML

schema_version = 1
name = "Ollama FIM Base"
description = "Ollama native /api/generate FIM request body. Abstract — extend it and set model."
abstract = true
provider_instance = "Ollama (Native)"
endpoint = "/api/generate"
[body]
stream = true
system = """{% if existsIn(ctx, "system_prompt") %}{{ tojson(ctx.system_prompt) }}{% endif %}"""
prompt = """{{ tojson(ctx.prefix) }}"""
suffix = """{% if existsIn(ctx, "suffix") %}{{ tojson(ctx.suffix) }}{% endif %}"""