diff options
| author | sigoden <sigoden@gmail.com> | 2024-08-16 18:44:13 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-16 18:44:13 +0800 |
| commit | 580ed6bea370345f76ca69ecb4c1cc30afa689c5 (patch) | |
| tree | 9a324075b6186abd4b07f8f34a4e396298f1e48a /src/config/input.rs | |
| parent | 7a95bd5de0751a87caed7376b92071f58dc41861 (diff) | |
| download | aichat-580ed6bea370345f76ca69ecb4c1cc30afa689c5.tar.gz | |
feat: no check model's support for function calls (#791)
Diffstat (limited to 'src/config/input.rs')
| -rw-r--r-- | src/config/input.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/input.rs b/src/config/input.rs index fe1da51..dd68749 100644 --- a/src/config/input.rs +++ b/src/config/input.rs @@ -212,7 +212,7 @@ impl Input { model.guard_max_input_tokens(&messages)?; let temperature = self.role().temperature(); let top_p = self.role().top_p(); - let functions = self.config.read().select_functions(model, self.role()); + let functions = self.config.read().select_functions(self.role()); Ok(ChatCompletionsData { messages, temperature, |
