From 05f290b1e826d6f1758064b3b6da933ce815d6c6 Mon Sep 17 00:00:00 2001 From: Sergio Date: Wed, 18 Sep 2024 17:57:19 -0500 Subject: [PATCH] tool role --- src/generation/chat/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/generation/chat/mod.rs b/src/generation/chat/mod.rs index 7fdceb0..09d628e 100644 --- a/src/generation/chat/mod.rs +++ b/src/generation/chat/mod.rs @@ -297,4 +297,6 @@ pub enum MessageRole { Assistant, #[serde(rename = "system")] System, + #[serde(rename = "tool")] + Tool, }