From 4d1c53384b751e39e8f5c9d3c512adedca552fdf Mon Sep 17 00:00:00 2001 From: sigoden Date: Mon, 29 Apr 2024 19:28:54 +0800 Subject: refactor: prompts for generating config file (#463) --- src/client/cohere.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/cohere.rs') diff --git a/src/client/cohere.rs b/src/client/cohere.rs index 8586b9d..e2a23b0 100644 --- a/src/client/cohere.rs +++ b/src/client/cohere.rs @@ -25,7 +25,7 @@ impl CohereClient { config_get_fn!(api_key, get_api_key); pub const PROMPTS: [PromptType<'static>; 1] = - [("api_key", "API Key:", false, PromptKind::String)]; + [("api_key", "API Key:", true, PromptKind::String)]; fn request_builder(&self, client: &ReqwestClient, data: SendData) -> Result { let api_key = self.get_api_key()?; -- cgit v1.2.3