Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: di-sukharev/opencommit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: Badbird5907/opencommit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 3 files changed
  • 1 contributor

Commits on Mar 19, 2023

  1. feat(commit.ts): add support for passing notes to the AI during commi…

    …t message generation
    
    refactor(generateCommitMessageFromGitDiff.ts): refactor generateCommitMessageChatCompletionPrompt function to accept aiNotes parameter and update prompt message accordingly
    
    refactor(server.ts): refactor generateCommitMessageWithChatCompletion function to use getMaxReqTokens function and add aiNotes parameter
    
    refactor(server.ts): add optional parameter aiNotes to getMessagesPromisesByLines function
    feat(server.ts): pass aiNotes parameter to getMessagesPromisesByLines function in getCommitMsgsPromisesFromFileDiffs function
    
    refactor: use getMaxReqTokens function to get the maximum required tokens
    feat: add support for aiNotes in getMessagesPromisesByLines and generateCommitMessageChatCompletionPrompt functions
    Badbird5907 committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    9817eaf View commit details
    Browse the repository at this point in the history
  2. feat(commit.ts): add support for passing notes to the AI when generat…

    …ing commit message
    
    refactor(commit.ts): remove redundant validation in text prompt for passing notes to the AI
    refactor(commit.ts): move staged files spinner stop to before prompt for passing notes to the AI
    Badbird5907 committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    b0c84d5 View commit details
    Browse the repository at this point in the history
  3. refactor(commit.ts): update commit message formatting to include note…

    …s on a new line if they exist
    Badbird5907 committed Mar 19, 2023
    Configuration menu
    Copy the full SHA
    3d9445b View commit details
    Browse the repository at this point in the history
Loading