From ccbc340f6bd783bb54e90d9139ab0e41ea0c33c3 Mon Sep 17 00:00:00 2001 From: sigoden Date: Sat, 7 Dec 2024 18:51:38 +0800 Subject: refactor: several improvements (#1044) - update models.yaml - update azure openai api version - agent `run_instructions_fn` --- src/config/agent.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/config/agent.rs') diff --git a/src/config/agent.rs b/src/config/agent.rs index c81ed11..6418efa 100644 --- a/src/config/agent.rs +++ b/src/config/agent.rs @@ -334,10 +334,7 @@ impl Agent { self.variable_envs(), )?; match value { - Some(v) => { - println!(); - Ok(v) - } + Some(v) => Ok(v), _ => bail!("No return value from '_instructions' function"), } } -- cgit v1.2.3