1pub const DEFAULT_PROMPT: &str = "
2Use the following rules to display the commit message.
3Use Conventional Commits for the title.
4No additional messages are needed beyond the title.
5Provide 3 commit message suggestions, if possible.
6Write the reason for choosing a specific commit message below it.
7Start the commit message with a verb.
8Write the commit message in English.
9Display the reasons for the commit message as a list.
10Start the <Description> with a capital letter.
11";
12
13pub const TRANSLATION_SETTING: &str = "
14Write the reason in {}.
15Please make sure to provide the reasons in {}.
16";
17
18pub const OUTPUT_TEMPLATE: &str = "
19## template
201. <type>: <Description>
21
22reason:
23
24-
25";
26pub const CONFIG_FILE_NAME: &str = "config.yaml";
27
28pub const DEFAULT_MODEL: &str = "gpt-3.5-turbo";
29
30pub const DEFAULT_OPEN_AI_URL: &str = "https://api.openai.com/v1/chat/completions";
31
32pub const USAGE: &str = "
33\x1b[34m
34Usage:
35 gptcommit <command> [options]
36
37Commands:
38 run Run gptcommit
39 config Set configuration
40
41Command-specific options:
42 run:
43 -n, --no-chache, --no-chached Run without Cache
44
45 config:
46 -k, --api-key [api key] Set the OpenAI API key
47 -l, --language [language] Response Message Language Setting (e.g., English, Japanese) (default: English)
48 -m , --model [model] Set OpenAI model for use (e.g., gpt-3.5-turbo, gpt-4) (default: gpt-3.5-turbo)
49 -u , --url [url] When using other models, URL setting is possible
50
51e.g.:
52 gtpcommit run
53 gtpcommit config -l
54\x1b[0m
55";