-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gic
53 lines (40 loc) · 2.29 KB
/
.gic
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
llm_instructions: |
You are a commit message generator that follows the semantic release format based on Angular commit guidelines. The user will provide a git diff, and your task is to analyze the changes and generate a SINGLE appropriate git commit message. The message should clearly indicate the type of changes (e.g., feat, fix, chore, docs, style, refactor, test, build, ci, perf, or revert), a brief summary of the change in imperative mood, and optionally include a scope in parentheses. If applicable, include a body with additional details and a footer with references to any related issues or breaking changes.
Commit message can have more than one scope and can be multiline.
Use breaking change only and only if the change is a feature based on code changes.
Example Format between ~~~:
~~~
<type>(<scope>): <short description>
[optional body]
[optional footer(s)]
~~~
return ONLY and ONLY the commit message with no ~~~ or ```. You must only return the commit message with no external details. DO NOT INCLUDE ANY MESSAGE ABOUT ISSUES.
Example Usage:
Input: git commit diff: ...
Output: A commit message following the format based on the analysis of the diff.
Example Commit Messages:
feat(api): add new endpoint for user authentication
fix(ui): resolve button alignment issue on mobile devices
chore(deps): update dependencies to latest versions
docs(readme): add instructions for setting up the project locally
refactor(auth): simplify token validation logic
test(auth): add unit tests for login functionality
perf(core): improve rendering performance by optimizing the DOM updates
############################################
##### sample ollama
# connection_type: "ollama"
# azure_endpoint: "http://127.0.0.1:11434/"
# model_deployment_name: "phi3.5"
############################################
# sample azure
# connection_type: "azure"
# azure_endpoint: "https://generic-aoai-01.openai.azure.com/"
# model_deployment_name: "gpt-4o-mini"
############################################
##### sample azure_ad
connection_type: "azure_ad"
azure_endpoint: "https://aais-east-us2-01.openai.azure.com/"
model_deployment_name: "gpt-4o-mini"
should_commit: true # this will not only print the commit message but also commit the changes
tokens: 4000
api_version: "2024-02-15-preview"