diff options
| author | sigoden <sigoden@gmail.com> | 2024-12-07 18:51:38 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-07 18:51:38 +0800 |
| commit | ccbc340f6bd783bb54e90d9139ab0e41ea0c33c3 (patch) | |
| tree | 74648d484189a2c4ae62327ea345229911bdaa4c /src/config | |
| parent | af4ff7afe9c8268a62d31aa3ede59fbc81d6e946 (diff) | |
| download | aichat-ccbc340f6bd783bb54e90d9139ab0e41ea0c33c3.tar.gz | |
refactor: several improvements (#1044)
- update models.yaml
- update azure openai api version
- agent `run_instructions_fn`
Diffstat (limited to 'src/config')
| -rw-r--r-- | src/config/agent.rs | 5 |
1 files changed, 1 insertions, 4 deletions
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"), } } |
