From d6df1e84a7d4fece6c9107de867a1c4d7d2fee56 Mon Sep 17 00:00:00 2001 From: sigoden Date: Sun, 28 Apr 2024 10:14:12 +0800 Subject: refactor: extract prelude models to models.yaml (#451) --- src/client/cohere.rs | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/client/cohere.rs') 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] = -- cgit v1.2.3