summaryrefslogtreecommitdiffstats
path: root/src/client/common.rs
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-04-29 19:28:54 +0800
committerGitHub <noreply@github.com>2024-04-29 19:28:54 +0800
commit4d1c53384b751e39e8f5c9d3c512adedca552fdf (patch)
tree01334c5c00e796d9b63698e31cc58c5a38498185 /src/client/common.rs
parent4ddccc361c04592d54d796b24f72508a5234ffb5 (diff)
downloadaichat-4d1c53384b751e39e8f5c9d3c512adedca552fdf.tar.gz
refactor: prompts for generating config file (#463)
Diffstat (limited to 'src/client/common.rs')
-rw-r--r--src/client/common.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/common.rs b/src/client/common.rs
index 85255ee..7eb8be8 100644
--- a/src/client/common.rs
+++ b/src/client/common.rs
@@ -203,7 +203,7 @@ macro_rules! openai_compatible_client {
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,