GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com โ€” ๐Ÿš€ UPDATE: v0.2.0 by warengonzaga ยท Pull Request #8 ยท warengonzaga/magic-commit

Conversation

@warengonzaga

@warengonzaga warengonzaga commented Oct 4, 2024 โ€ข
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Owner

This pull request includes several updates to improve the functionality and user experience of the magicc CLI tool. The most important changes include the introduction of validation for the OpenAI API key, updates to the default model used for generating commit messages, and enhancements to the setup process.

API Key Validation:

  • source/utils/api.js: Added a function to validate the OpenAI API key by making a request to the OpenAI API and handling various response statuses.

Default Model and Configuration Updates:

  • source/utils/config.json: Updated configuration to include a new default model gpt-4o-mini, set a maximum diff size, and revised instructions for commit message categories.
  • source/utils/openai.js: Modified functions to use the new default model from the configuration and added logic to handle large diff sizes. [1] [2]

Setup and Installation:

  • contributing.md: Added setup instructions for installing the CLI app using yarn or npm, and noted the requirement for a Linux-based OS.
  • package.json: Added new scripts for setup and reset commands, specifically for Ubuntu.

Miscellaneous Improvements:

  • .npmrc: Added engine-strict-true to enforce strict engine compatibility.
  • README.md: Updated the description to mention the use of gpt-4o-mini as the default model for generating commit messages.
  • source/utils/commit.js: Changed the default answer for commit message confirmation to "N" for better user experience.

These changes collectively enhance the robustness and usability of the magicc tool, ensuring better validation, configuration flexibility, and ease of setup.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@warengonzaga
โœจ tweak: upgrade packages
ed69d43
@warengonzaga warengonzaga changed the title ๐Ÿš€ update: v0.1.4 ๐Ÿš€ UPDATE: v0.1.4 Oct 4, 2024
warengonzaga added 5 commits October 4, 2024 14:48
@warengonzaga
Merge branch 'main' into dev
4bb2463
@warengonzaga
โœจ tweak: add setup and reset scripts
1ddb357
@warengonzaga
โœจ tweak: update api key validation logic
a49f767
@warengonzaga
๐Ÿž fix: update commit prompt question option to uppercase-N
c9359a0
@warengonzaga
๐Ÿ“ฆ new: add engine strict option
cb0ae56
@warengonzaga warengonzaga self-assigned this Oct 4, 2024
@warengonzaga warengonzaga added hacktoberfest-accepted Hacktoberfest (PR) maintainers only Assigned to Project Maintainers (Issue/PR) chore Project Housekeeping (Issue/PR) tweak Enhancements (Issue/PR) labels Oct 4, 2024
@warengonzaga warengonzaga linked an issue Oct 4, 2024 that may be closed by this pull request
DeprecationWarning and also Invalid OpenAI API key message #5
Closed
warengonzaga added 5 commits October 4, 2024 16:41
@warengonzaga
โœจ tweak: update config.json with maxdiffsize.
e8a07ca
@warengonzaga
โœจ tweak: update config.json emoji.
e85d17d
@warengonzaga
โœจ tweak: update config.json
63baa6e
@warengonzaga
โœจ tweak: update config json
90f5ecf
@warengonzaga
โœจ tweak: tweak update openai.js
2aba41e
@warengonzaga warengonzaga linked an issue Oct 4, 2024 that may be closed by this pull request
add exception to lock files (yarn.lock and package-lock.json) #2
Closed
warengonzaga added 6 commits October 4, 2024 17:12
@warengonzaga
โœจ tweak: bump version to 0.2.0
98d6b43
@warengonzaga
โœจ tweak: update config message
53d0676
@warengonzaga
โ˜• chore: update description and badges
6deee12
@warengonzaga
โ˜• chore: add setup instructions
f1f49fd
@warengonzaga
๐Ÿ“ฆ new: tweak config for new model
edba3a6
@warengonzaga
โœจ tweak: update chat model configuration
f04e6bb
@warengonzaga
warengonzaga merged commit 5615099 into main Oct 4, 2024
@warengonzaga warengonzaga changed the title ๐Ÿš€ UPDATE: v0.1.4 ๐Ÿš€ UPDATE: v0.2.0 Oct 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@warengonzaga warengonzaga

Labels

chore Project Housekeeping (Issue/PR) hacktoberfest-accepted Hacktoberfest (PR) maintainers only Assigned to Project Maintainers (Issue/PR) tweak Enhancements (Issue/PR)

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

DeprecationWarning and also Invalid OpenAI API key message add exception to lock files (yarn.lock and package-lock.json)

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@warengonzaga
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 โ€” GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800ร—600. No cookies required.