Skip to content

Tags: appleboy/CodeGPT

Tags

v0.14.3

Toggle v0.14.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(gemini): refactor maxTokens type to int32 across the codebase (#196)

- Change the type of `maxTokens` from `int` to `int32` in multiple files
- Update the function `WithMaxTokens` to accept `int32` instead of `int`
- Adjust the usage of `maxTokens` in the `New` function to match the new type

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

v0.14.2

Toggle v0.14.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
fix(prompt): initialization and update commit message handling (#190)

- Refactor `tea.NewProgram` initialization for better readability
- Ensure `commitMessage` is updated with the value from `m.textarea`

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

v0.14.1

Toggle v0.14.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: add noConfirm flag to streamline commit process (#189)

- Add a `noConfirm` flag to skip the confirmation prompt
- Modify `commitCmd` to check for `noConfirm` flag in preview mode
- Update `prepare-commit-msg` template to include `--no_confirm` flag in `codegpt commit` command

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

v0.14.0

Toggle v0.14.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: implement commit message editing with bubbletea UI (#187)

- Add `tea` import from `github.com/charmbracelet/bubbletea`
- Trim commit message before displaying it
- Change confirmation prompt default to `Yes`
- Add prompt to change commit message with default `No`
- Add logic to handle commit message change using `bubbletea` program
- Create new file `textarea.go` for handling commit message input
- Implement `model` struct and functions for `textarea` interaction
- Add `View` function to display commit message confirmation prompt

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

v0.13.2

Toggle v0.13.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
feat: improve prompt confirmation and error handling (#184)

- Add prompt confirmation for commit preview summary
- Add error handling for prompt confirmation
- Add `github.com/erikgeiser/promptkit` to imports
- Add `github.com/erikgeiser/promptkit v0.9.0` to go.mod
- Add several indirect dependencies to go.mod

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>

v0.13.1

Toggle v0.13.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
docs(readme): fix typo in Gemini API service section (#183)

Fix typo in Gemini API service section header.

Co-authored-by: Guilherme Silva Sousa <guilherme.sousa@keeggo.com>

v0.13.0

Toggle v0.13.0's commit message

Verified

This commit was signed with the committer’s verified signature.
appleboy Bo-Yi Wu
docs: enhance API service documentation and configuration

- Add support for Ollama API service in the README
- Add detailed instructions for configuring the Gemini API service
- Remove duplicate section for Gemini API service configuration

Signed-off-by: appleboy <appleboy.tw@gmail.com>

v0.12.2

Toggle v0.12.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore: remove `###` from prompt file (#170)

- Remove unnecessary `###` markers from template files

Signed-off-by: appleboy <appleboy.tw@gmail.com>

v0.12.1

Toggle v0.12.1's commit message

Verified

This commit was signed with the committer’s verified signature.
appleboy Bo-Yi Wu
chore: update dependencies for color and openai libraries

- Update `github.com/fatih/color` dependency from `v1.16.0` to `v1.17.0`
- Update `github.com/sashabaranov/go-openai` dependency from `v1.23.1` to `v1.24.0`

Signed-off-by: appleboy <appleboy.tw@gmail.com>

v0.12.0

Toggle v0.12.0's commit message

Verified

This commit was signed with the committer’s verified signature.
appleboy Bo-Yi Wu
docs: improve Documentation Formatting

- Correct markdown formatting for two optional headers in the README file

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>