/* Spark's reply format: the checkpoint's template writes these tags around each call. */ #pragma once #include "rad_builder.h" namespace spark25_bf16 { inline const RadChatFormat* spark_chat_format() { static const char* const breaks[] = {""}; static const char* const triggers[] = {""}; static const RadChatFormat f = [] { RadChatFormat x{}; x.struct_size = sizeof(x); x.name = "plugin:spark25"; x.reasoning_open = ""; x.reasoning_close = ""; x.reasoning_breaks = breaks; x.n_reasoning_breaks = 1; x.reasoning_in_prompt = RAD_CHAT_THINK_FROM_PROMPT; /* There is no delimiter between the call opener and the function name. */ x.name_prefix = ""; x.call_end = ""; x.arg_prefix = ""; x.arg_name_suffix = ""; x.arg_value_prefix = ""; x.arg_value_suffix = ""; x.string_value = RAD_CHAT_VALUE_RAW; x.other_value = RAD_CHAT_VALUE_JSON; x.triggers = triggers; x.n_triggers = 1; return x; }(); return &f; } } /* namespace spark25_bf16 */