Skip to main content

refused_call_output

Function refused_call_output 

Source
pub(crate) fn refused_call_output(
    refusal: ClientToolCallRefusal,
    tool_name: &str,
) -> &'static str
Expand description

The output the model reads for a call check_client_tool_call refused.

The refusal is checked both when the server plans to suspend on a call and when a client’s answer to one arrives, since nothing bounds how long a call waits and a role or a configuration can change while it does.