summaryrefslogtreecommitdiffstats
path: root/src/client/model.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-08-16 18:44:13 +0800
committerGitHub <noreply@github.com>2024-08-16 18:44:13 +0800
commit580ed6bea370345f76ca69ecb4c1cc30afa689c5 (patch)
tree9a324075b6186abd4b07f8f34a4e396298f1e48a /src/client/model.rs
parent7a95bd5de0751a87caed7376b92071f58dc41861 (diff)
downloadaichat-580ed6bea370345f76ca69ecb4c1cc30afa689c5.tar.gz
feat: no check model's support for function calls (#791)
Diffstat (limited to 'src/client/model.rs')
-rw-r--r--src/client/model.rs4
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)
}