-
-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* 🤖 chore(auto-submit): Add commit-assistant (#854) * 🤖 chore(auto-submit): Generate i18n for commit-assistant (#854)
- Loading branch information
1 parent
db10110
commit 90b205c
Showing
315 changed files
with
705 additions
and
1,968 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"config": { | ||
"systemRole": "Suggest a precise and informative commit message based on the following diff. Use markdown syntax in your response if needed.\n\nThe commit message should follow the Angular commit message format:\n\n <type>(<scope>): <short summary>\n <BLANK LINE>\n <body>\n <BLANK LINE>\n <footer>\n\nWhere:\n\n* `<type>` is one of: build, chore, ci, docs, feat, fix, perf, refactor, revert, style, test\n* `<scope>` is optional and represents the module affected (e.g., core, common, forms)\n* `<short summary>` starts with lowercase, doesn't end with a period, and is limited to 50 characters\n* `<body>` is optional, uses present tense, and wraps at 72 characters\n* `<footer>` is optional and contains any breaking changes or closed issues\n\nExamples:\n\n* `fix(auth): handle 403 forbidden error cases`\n* `feat(ai): implement commit message generation from diffs`\n\nFor multi-line commit messages:\n\n feat(user-profile): add ability to update user avatar\n\n Implement a new feature allowing users to upload and update their profile avatar.\n This change includes:\n - New API endpoint for avatar upload\n - Frontend UI updates in the profile section\n - Image processing to resize and optimize uploaded avatars\n\n Closes #123\n\nIf necessary, include an explanatory body and/or footer to provide more context about the changes, their rationale, and any significant impacts or considerations.\n\nDiff:\n" | ||
}, | ||
"meta": { | ||
"title": "Commit Message Generator", | ||
"description": "Expert at generating precise Git commit messages", | ||
"tags": ["programming", "git", "commit message", "code review"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,67 @@ | ||
{"type":"object","properties":{"author":{"type":"string"},"config":{"type":"object","properties":{"compressThreshold":{"type":"number"},"displayMode":{"type":"string","enum":["chat","docs"]},"enableCompressThreshold":{"type":"boolean"},"enableHistoryCount":{"type":"boolean"},"enableMaxTokens":{"type":"boolean"},"fewShots":{"type":"array","items":{"type":"object","properties":{"content":{"type":"string"},"role":{"type":"string","enum":["user","system","assistant","function"]}},"required":["content","role"],"additionalProperties":false}},"historyCount":{"type":"number"},"inputTemplate":{"type":"string"},"model":{"type":"string","default":"gpt-3.5-turbo"},"params":{"type":"object","properties":{"frequency_penalty":{"type":"number","default":0},"max_tokens":{"type":"number"},"presence_penalty":{"type":"number","default":0},"temperature":{"type":"number","default":0},"top_p":{"type":"number","default":1}},"additionalProperties":false},"plugins":{"type":"array","items":{"type":"string"}},"systemRole":{"type":"string"}},"required":["systemRole"],"additionalProperties":false},"createAt":{"type":"string"},"examples":{"$ref":"#/properties/config/properties/fewShots"},"homepage":{"type":"string"},"identifier":{"type":"string"},"meta":{"type":"object","properties":{"avatar":{"type":"string"},"backgroundColor":{"type":"string"},"category":{"type":"string"},"description":{"type":"string"},"tags":{"type":"array","items":{"type":"string"}},"title":{"type":"string"}},"required":["avatar","description","tags","title"],"additionalProperties":false},"schemaVersion":{"type":"number"}},"required":["author","config","createAt","homepage","identifier","meta","schemaVersion"],"additionalProperties":false,"$schema":"http://json-schema.org/draft-07/schema#"} | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"additionalProperties": false, | ||
"properties": { | ||
"author": { "type": "string" }, | ||
"config": { | ||
"type": "object", | ||
"properties": { | ||
"compressThreshold": { "type": "number" }, | ||
"displayMode": { "type": "string", "enum": ["chat", "docs"] }, | ||
"enableCompressThreshold": { "type": "boolean" }, | ||
"enableHistoryCount": { "type": "boolean" }, | ||
"enableMaxTokens": { "type": "boolean" }, | ||
"fewShots": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"content": { "type": "string" }, | ||
"role": { "type": "string", "enum": ["user", "system", "assistant", "function"] } | ||
}, | ||
"required": ["content", "role"], | ||
"additionalProperties": false | ||
} | ||
}, | ||
"historyCount": { "type": "number" }, | ||
"inputTemplate": { "type": "string" }, | ||
"model": { "type": "string", "default": "gpt-3.5-turbo" }, | ||
"params": { | ||
"type": "object", | ||
"properties": { | ||
"frequency_penalty": { "type": "number", "default": 0 }, | ||
"max_tokens": { "type": "number" }, | ||
"presence_penalty": { "type": "number", "default": 0 }, | ||
"temperature": { "type": "number", "default": 0 }, | ||
"top_p": { "type": "number", "default": 1 } | ||
}, | ||
"additionalProperties": false | ||
}, | ||
"plugins": { "type": "array", "items": { "type": "string" } }, | ||
"systemRole": { "type": "string" } | ||
}, | ||
"required": ["systemRole"], | ||
"additionalProperties": false | ||
}, | ||
"createAt": { "type": "string" }, | ||
"examples": { "$ref": "#/properties/config/properties/fewShots" }, | ||
"homepage": { "type": "string" }, | ||
"identifier": { "type": "string" }, | ||
"meta": { | ||
"type": "object", | ||
"properties": { | ||
"avatar": { "type": "string" }, | ||
"backgroundColor": { "type": "string" }, | ||
"category": { "type": "string" }, | ||
"description": { "type": "string" }, | ||
"tags": { "type": "array", "items": { "type": "string" } }, | ||
"title": { "type": "string" } | ||
}, | ||
"required": ["avatar", "description", "tags", "title"], | ||
"additionalProperties": false | ||
}, | ||
"schemaVersion": { "type": "number" } | ||
}, | ||
"required": ["author", "config", "createAt", "homepage", "identifier", "meta", "schemaVersion"], | ||
"type": "object" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,4 @@ | |
"category": "design" | ||
}, | ||
"schemaVersion": 1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,4 +25,4 @@ | |
"category": "programming" | ||
}, | ||
"schemaVersion": 1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,4 +21,4 @@ | |
"category": "marketing" | ||
}, | ||
"schemaVersion": 1 | ||
} | ||
} |
Oops, something went wrong.