Function create_tool_call_denied

Source
pub async fn create_tool_call_denied<'a, E>(
    executor: E,
    company_id: i32,
    message: &Message,
) -> Result<Vec<Message>>
where E: Executor<'a, Database = Postgres>,
Expand description

Create tool call denied

ยงErrors

Returns error if there was a problem while creating message.