summaryrefslogtreecommitdiffstats
path: root/src/client/cohere.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-04-28 10:14:12 +0800
committerGitHub <noreply@github.com>2024-04-28 10:14:12 +0800
commitd6df1e84a7d4fece6c9107de867a1c4d7d2fee56 (patch)
tree5557d35d080e665370a7663d1317df14700d0ea4 /src/client/cohere.rs
parenteac01fb129ce5a06e00cc2cc24e31b40e81eb66b (diff)
downloadaichat-d6df1e84a7d4fece6c9107de867a1c4d7d2fee56.tar.gz
refactor: extract prelude models to models.yaml (#451)
Diffstat (limited to 'src/client/cohere.rs')
-rw-r--r--src/client/cohere.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/client/cohere.rs b/src/client/cohere.rs
index 3f97ece..d99276c 100644
--- a/src/client/cohere.rs
+++ b/src/client/cohere.rs
@@ -22,14 +22,6 @@ pub struct CohereConfig {
}
impl CohereClient {
- list_models_fn!(
- CohereConfig,
- [
- // https://docs.cohere.com/docs/command-r
- ("command-r", "text", 128000),
- ("command-r-plus", "text", 128000),
- ]
- );
config_get_fn!(api_key, get_api_key);
pub const PROMPTS: [PromptType<'static>; 1] =