Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/commit more changes #37

Open
wants to merge 14 commits into
base: main
Choose a base branch
from

Commits on Oct 2, 2024

  1. first commit

    Arthur Monnet committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    156d081 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. feat: enhance diff parsing and introduce interactive commit process

    - Add `gpt-3-encoder` import and define `MAX_TOKENS` in `index.js`
    - Implement `parseDiffByFile` function to handle large diffs
    - Modify `generateAICommit` to manage diffs exceeding `MAX_TOKENS`, with user confirmations
    - Refactor `sendMessage` in `openai.js` for improved readability
    - Update prompts in commit generation functions for clarity
    - Add `getPromptForDiffSummary` method to summarize git diffs per file
    - Decrease `MAX_TOKENS` in `openai.js` from 128k to 4k with adjustable note
    Arthur Monnet committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    35caf89 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3338191 View commit details
    Browse the repository at this point in the history
  3. 🚑 fix: update console log to dynamically display token and character …

    …limits in openai.js
    Arthur Monnet committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    13499fe View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5177af2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c126e43 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    756c8e5 View commit details
    Browse the repository at this point in the history
  7. Delete .idea/php.xml

    Arthur-MONNET authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    70960d6 View commit details
    Browse the repository at this point in the history
  8. Delete .idea/vcs.xml

    Arthur-MONNET authored Oct 4, 2024
    Configuration menu
    Copy the full SHA
    94de501 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4bdfb7f View commit details
    Browse the repository at this point in the history
  10. fix: update dependencies to latest versions

    Arthur Monnet committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    a5d910f View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. fix: update comments and improve function descriptions for clarity

    - Replace French comments with their English equivalents in `index.js`.
    - Clarify the functionality of code blocks with updated comments in both `index.js` and `openai.js`.
    - Introduce a new function description for generating prompts from diffs in `openai.js`.
    Arthur Monnet committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    1675f16 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Configuration menu
    Copy the full SHA
    d88a681 View commit details
    Browse the repository at this point in the history
  2. 🚑 fix: remove console.log statement from generateAICommit function to…

    … clean up output
    Arthur Monnet committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    4adefda View commit details
    Browse the repository at this point in the history