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/client | |
| parent | 7a95bd5de0751a87caed7376b92071f58dc41861 (diff) | |
| download | aichat-580ed6bea370345f76ca69ecb4c1cc30afa689c5.tar.gz | |
feat: no check model's support for function calls (#791)
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/model.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/client/model.rs b/src/client/model.rs index 17646c9..bea96a2 100644 --- a/src/client/model.rs +++ b/src/client/model.rs @@ -187,10 +187,6 @@ impl Model { self.data.supports_vision } - pub fn supports_function_calling(&self) -> bool { - self.data.supports_function_calling - } - pub fn default_chunk_size(&self) -> usize { self.data.default_chunk_size.unwrap_or(1000) } |
