From 4ea6f3933fff4974334e3f9ecb2a423aab43a787 Mon Sep 17 00:00:00 2001 From: sigoden Date: Wed, 10 Jul 2024 18:53:58 +0800 Subject: feat: adjust the way of obtaining function call results (#695) --- src/config/agent.rs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/config/agent.rs') diff --git a/src/config/agent.rs b/src/config/agent.rs index 7a065e7..7d1a43b 100644 --- a/src/config/agent.rs +++ b/src/config/agent.rs @@ -117,10 +117,6 @@ impl Agent { &self.name } - pub fn config(&self) -> &AgentConfig { - &self.config - } - pub fn functions(&self) -> &Functions { &self.functions } @@ -211,8 +207,6 @@ pub struct AgentConfig { pub top_p: Option, #[serde(skip_serializing_if = "Option::is_none")] use_tools: Option, - #[serde(skip_serializing_if = "Option::is_none")] - pub dangerously_functions_filter: Option, } impl AgentConfig { -- cgit v1.2.3