CodeGPT

A CLI written in Go language that writes git commit messages or do a code review brief for you using ChatGPT AI (gpt-4, gpt-3.5-turbo model) and automatically installs a git prepare-commit-msg hook.

MIT License

Stars
1K
Committers
21

Bot releases are visible (Hide)

CodeGPT - v0.10.0 Latest Release

Published by github-actions[bot] 7 months ago

Changelog

  • 986115d chore: update dependencies and versions in go.mod files
  • b36bf4b feat: update model configurations and API links
  • b3d2950 feat(func): support for function calling in OpenAI API (#149)
  • 296d527 feat(model): Introduce Groq package with Model type and related functions (#148)
CodeGPT - v0.9.0

Published by github-actions[bot] 7 months ago

Changelog

  • 0f04268 chore: update dependencies and improve CI robustness
  • 97b4a29 chore: update dependencies and CI configurations
  • 6e4b4dd chore: update dependencies to latest versions
  • 8822a03 feat(git): make diff exclusion results the same in different directories (#147)
  • c49c6ad ci: update GitHub Actions dependencies to v4
  • 0125d86 feat: improve application shutdown process
CodeGPT - v0.8.0

Published by github-actions[bot] 8 months ago

Changelog

  • 06aa70c feat: refactor OpenAI model integration
  • 553901a ci: refactor CI workflows and Go configurations
CodeGPT - v0.7.1

Published by github-actions[bot] 10 months ago

Changelog

  • d95ca55 chore(timeout): update default timeout to 30 seconds across files (#145)
  • ff97f1d chore: update dependencies to latest versions
  • 4024bfd chore: update dependencies in go.mod file
  • 40c2c1b chore: update version of actions/setup-go in GitHub workflows
  • e61298e chore: update dependencies to latest versions
  • 409aee8 docs(readme): fix link (#141)
  • 5cfcffd docs(readme): add windows installation note. (#140)
  • 264e079 docs(readme): default temperature of this tool already change to 1 (#136)
  • 97b30b2 chore: update github.com/sagikazarmark/locafero to v0.4.0
CodeGPT - v0.7.0

Published by github-actions[bot] 11 months ago

Changelog

  • 450ad28 chore: update dependencies to latest versions
  • e031a18 chore: update Dockerfile and add Dockerfile linting
  • 09a5329 refactor: refactor modelMaps variable and remove openai.GPT432K0613 model from Completion function
  • 0a7ac39 chore: update dependencies to latest versions
  • 0e24cbc chore: update git commit message template with custom variables
  • 0cd4025 chore: update dependencies in go.mod file
CodeGPT - v0.6.2

Published by github-actions[bot] 12 months ago

Changelog

  • 77b2e90 feat: update configuration flags and bindings (#127)
  • 2df470c docs: add comments explaining the purpose and behavior of config commands
CodeGPT - v0.6.1

Published by github-actions[bot] 12 months ago

Changelog

  • d24af1a chore: hide API key in config list command output
CodeGPT - v0.6.0

Published by github-actions[bot] 12 months ago

Changelog

  • 8b6858d chore(cmd): support config list and set for sub command. (#124)
CodeGPT - v0.5.1

Published by github-actions[bot] 12 months ago

Changelog

  • edb9f5e feat: add bindings for new flags in configCmd function
CodeGPT - v0.5.0

Published by github-actions[bot] 12 months ago

Changelog

  • 75822b6 chore: update build configurations and file structure
  • 0ec5940 docs: add new options to .codegpt.yaml file
  • 09db758 chore: update default temperature value to 1.0 (#122)
  • 92f2119 chore: add OpenAI configuration options to commit command (#121)
  • ca7dcdd chore: update dependencies to latest versions
CodeGPT - v0.4.4

Published by github-actions[bot] about 1 year ago

Changelog

  • c41f9bb refactor: refactor translation template in prompt/templates
  • 9c47ce8 chore: update dependencies to latest versions
  • b9dfe91 chore: update version of go-openai in go.mod file
  • d5d97fa chore: update version of github.com/spf13/afero in go.mod file
  • bea310f chore: update GitHub Actions workflows
  • a4f4f04 chore: update Docker actions to latest versions
  • 3acd87c chore: update CodeGPT version in README.md (#114)
  • d157807 chore: update goreleaser GitHub Actions version
  • d5d34ad chore: update version of go-openai dependency
  • 6116ac6 chore: update dependencies to latest versions
  • 49c7f1a chore: update version of actions/checkout in GitHub workflows
  • dc5ada0 fix: fix completion commands to assign output to variables
  • 9c39122 feat: add completion command to root command
  • 4029bb7 chore: update commit label in conventional_commit.tmpl
CodeGPT - v0.4.3

Published by github-actions[bot] about 1 year ago

Changelog

  • 58b946e feat: refactor openai package to support GPT3Dot5Turbo16K0613 model
  • 089bde6 refactor: refactor Client struct and New function
  • fe2afe8 refactor: add support for function calls in summarization (#101)
  • b218141 feat: add CreateFunctionCall function (#100)
CodeGPT - v0.4.2

Published by github-actions[bot] about 1 year ago

Changelog

  • 2fd957e chore: refactor commit message generation
  • 2dacf12 chore: update go-openai and gotenv dependencies
  • 5dfdbbb chore: update container image to golang:1.21-alpine
CodeGPT - v0.4.1

Published by github-actions[bot] about 1 year ago

Changelog

  • b4d8ce9 chore: update modelMaps variable with new OpenAI models
  • 46af71f fix: the max_tokens is fixed at 300 in commitCmd (#97)
  • b887729 chore: update Go dependencies
CodeGPT - v0.4.0

Published by github-actions[bot] about 1 year ago

Changelog

  • 8d5887e feat: add new function and comment to options.go
  • 8ff7fac feat(model): add support for OpenAI API version configuration (#95)
  • e6daa6f docs: update instructions and remove alternative base URL
CodeGPT - v0.3.0

Published by github-actions[bot] about 1 year ago

Changelog

  • 8b9b35a refactor: refactor OpenAI client for improved dialing context
  • b326415 feat: implement custom headers support for OpenAI requests
  • 4c1c799 feat: implement skip TLS verification in OpenAI client config
  • ee70047 feat: refactor HTTP transport in OpenAI client
  • 7416072 foobar: update Go dependencies to latest versions
  • 5e56cc7 chore(commit): Added a new flag promptOnly (#93)
  • 99b47bc chore: update dependencies and improve test accuracy
  • 94b444a feat: update modelMaps and integrate GPT3.5Turbo16K0613
  • 121cdf1 feat: update completion function with new GPT models
  • e792643 chore: add new models to go-openai (#86)
CodeGPT - v0.2.2

Published by github-actions[bot] over 1 year ago

Changelog

  • 50329e0 chore: improve API usage and test coverage across platforms
  • 786d7d4 refactor: exclude_list flag to accept comma-separated values (#85)
  • b893b97 chore: update dependencies and improve tests and actions
  • 46d5cb6 chore(openai): upgrade to 1.9.5
  • c638b7d refactor: improve configuration, testing, and API integration
CodeGPT - v0.2.1

Published by github-actions[bot] over 1 year ago

Changelog

  • 8cfeb6e ci: improve release process and test coverage
  • c4085ba docs: enhance commit message customization and documentation (#81)
  • 4b2d053 feat: improve template variables handling and testing (#80)
  • 61b2777 feat: improve template handling and test coverage (#79)
  • 9b3eae9 chore: upgrade go-openai from v1.9.3 to v1.9.4 (#78)
  • 7beb0b6 chore: update ca-certificates and improve test stability
  • d1da92b build: improve test coverage and GitHub actions setup
  • 32a9922 docs: improve API usage, testing, and documentation (#76)
  • 7bd613a chore: improve performance and extend OS compatibility
  • 68e9d85 build: improve compression and test tolerance in build
  • a471a55 chore: optimize API usage and enhance test reliability
CodeGPT - v0.2.0

Published by github-actions[bot] over 1 year ago

Changelog

  • 68ce8d0 feat: improve model selection and API usage (#71)
  • 7ae227e refactor: refactor codebase by removing obsolete functions
  • d95f1b2 fix: fix COMMIT_EDITMSG of worktree missing bug (#70)
  • ea4b5d0 style: variable 'proxy' collides with imported package name (#69)
  • 70aa045 chore: update dependency version for go-openai
  • 9500376 docs: add visual representation of project stars
  • bb0b54d docs: update Chinese language resources
  • e07c0e2 docs: fix a typo in README.md (#65)
  • 182cea6 refactor: refactor configuration handling and helper functions
CodeGPT - v0.1.9

Published by github-actions[bot] over 1 year ago

Changelog

  • 92b3564 refactor: refactor variable names and function arguments for code readability
  • b114586 test: improve testing coverage for prompt package
  • fcc9ca4 test: refactor testing for IsCommandAvailable function
  • bb8b49e refactor: refactor language handling and file loading in prompt module
  • 87c4c1c docs: refactor configuration handling in New function
  • bf33640 fix: improve code reliability and maintainability (#64) #62
  • 3716d74 refactor: refactor config struct and fix typo in function name
Package Rankings
Top 6.21% on Proxy.golang.org
Badges
Extracted from project README
Lint and Testing codecov Go Report Card Star History Chart