Skip to main content

inline_system_prompt

Function inline_system_prompt 

Source
pub fn inline_system_prompt(system: &str, prompt: &str) -> String
Expand description

Combines a system prompt and a user prompt for backends without a separate system prompt.

The system part is fenced so the agent can tell instructions from the conversation.