GithubHelp home page GithubHelp logo

marc-r2 / ai-commits-intellij-plugin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blarc/ai-commits-intellij-plugin

12.0 12.0 4.0 207 KB

CommitGPT for IntelliJ based IDEs/Android Studio.

License: MIT License

Kotlin 100.00%
ai ai-commit ai-commits artificial-intelligence automation chatgpt-api commit gpt intellij jetbrains-plugin plugin productivity vcs

ai-commits-intellij-plugin's Introduction

Hi, I'm Marc ๐Ÿ‘‹

I do a lot of stuff

๐ŸŒ Socials:

LinkedIn

๐Ÿ’ป Tech Stack:

Dart Go LaTeX Markdown PHP Rust Python TypeScript Flutter Nginx MongoDB MySQL Realm SQLite MariaDB Adobe After Effects Adobe Illustrator Adobe XD Adobe Premiere Pro Adobe Photoshop Adobe Lightroom Adobe InDesign Blender NumPy Pandas scikit-learn TensorFlow CodeCov Arduino Kubernetes Docker Raspberry Pi

๐Ÿ“Š GitHub Stats:



๐Ÿ† GitHub Trophies

โœ๏ธ Random Dev Quote

ai-commits-intellij-plugin's People

Contributors

actions-user avatar blarc avatar dependabot[bot] avatar dylandelobel avatar marc-r2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

ai-commits-intellij-plugin's Issues

commit with commitlint

I recommend testing your generated commit with commitlint, because it generates some formatting errors

Feature: Convert absolut paths to relative paths in DIFFs

When the diff is passed to the prompt, it includes the absolute paths.

Example:
/home/draget/projects/work/mycompany/repos/experiements/secret/mygreatapp/src/โ€ฆ

It would be nice it it could be converted to a relative project path:
mygreatapp/src/โ€ฆ

This would reduce the tokens used for the prompt, might increase privacy a tiny bit and lessens the project-irrelevant noise.

JsonConvertException on Token Verification in PhpStorm

Description:
I encountered a JSON conversion exception in PhpStorm when using the CommitGPT plugin. This issue seems to occur during the verification of an OpenAI API token.

Environment
PhpStorm Version: 2023.2.2
CommitGPT Plugin Version: 0.7.1 Marc-R2
Operating System: Ubuntu 20.04.6 LTS x86_64

Steps to reproduce
1- Go to Settings > Tools > CommitGPT
2- Click on the link to generate an openai token
3- Generate the token and copy it
4- Paste it in the Openai Token input
5- Click on verify and I see "Openai token is not valid (unknown)"
6- I check my syslog with sysLog='tail -f -n200 /var/log/{messages,kernel,dmesg,syslog}'

Observed error log:

Nov 15 14:11:13 dell jetbrains-phpstorm.desktop[400775]: -> access-control-allow-origin: *
Nov 15 14:11:13 dell jetbrains-phpstorm.desktop[400775]: -> alt-svc: h3=":443"; ma=86400
Nov 15 14:11:13 dell jetbrains-phpstorm.desktop[400775]: -> openai-processing-ms: 174
Nov 15 14:11:13 dell jetbrains-phpstorm.desktop[400775]: -> openai-version: 2020-10-01
Nov 15 14:11:13 dell jetbrains-phpstorm.desktop[400775]: -> strict-transport-security: max-age=15724800; includeSubDomains
Nov 15 14:11:13 dell jetbrains-phpstorm.desktop[400775]: -> x-request-id: e93044abb6506e380268111b736a6855
Nov 15 14:11:13 dell jetbrains-phpstorm.desktop[400775]: HttpClient: RESPONSE https://api.openai.com/v1/models failed with exception: io.ktor.serialization.JsonConvertException: Illegal input

reset ai token

OpenAI token is reset afer change project or reload editor

Notification options

Possible to have options regarding what CommitGPT puts in notifications?

At the moment it dumps the whole prompt message taking up loads of space, if it could be made collapsed/expandable that would suffice.

Android studio compatibility

Hi, thanks a lot for your work, I found the link to your plugin in a lib opencommit discussion.
I would have liked to know if it was possible to make the plugin compatible with Android Studio, that would be really great :) Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.