sekai.ni.itamio
02/05/2026, 7:04 AMfunction Invoke() -> string {
client ChatBaml
prompt #"
{{ _.role( 'user' ) }}
{{ 'Hello, how are you?' }}
"#
}
vllm renders it as ( Hermes format):
<|im_start|>user\nHello, how are you?<|im_end|>\n<|im_start|>assistant\n
Is there currently (or planned) support for controlling / injecting a custom string right at the start of the assistant turn, for example:
{{ _.role( 'assistant', prefix='assistant{"name": “browser' ) }}
will be rendered as
...<|im_end|>\n<|im_start|>assistant<tool_call>{"name": “browser
This pattern is very useful for reliable tool-calling agents (inspired by the Manus blog post "Context Engineering for AI Agents: Lessons from Building Manus").
Thanks in advance!Vaibhav (BAML 🐑)
02/09/2026, 9:02 AMsekai.ni.itamio
02/10/2026, 6:28 PMvEth
02/10/2026, 11:08 PMvEth
02/10/2026, 11:09 PMsekai.ni.itamio
02/11/2026, 12:56 AM