Skip to main content

request_input_text

Function request_input_text 

Source
pub fn request_input_text(req: &ChatCompletionRequest) -> String
Expand description

Concatenated text of the user + system messages — the caller-controlled input, used for content/topic routing. Assistant/tool turns are excluded so a model’s own output can’t spuriously trigger a topic route.