GithubHelp home page GithubHelp logo

maurerkrisztian / issue-improver-action Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 3.0 51.26 MB

GitHub Action that automates issue improvement suggestions using OpenAI GPT.

Home Page: https://github.com/marketplace/actions/clarify-and-improve-issues-with-openai-gpt

License: MIT License

TypeScript 98.10% Shell 0.61% JavaScript 1.29%
actions ai github-actions issue-management

issue-improver-action's Introduction

Maurer Krisztian

Hi πŸ‘‹, I'm Maurer Krisztian

A passionate full stack developer and open-source enthusiast from Hungary

I'm the author of https://github.com/OpenZer0 packages.

πŸ‘· Check out what I'm currently working on

πŸ”­ Latest releases I've contributed to

πŸ”¨ Latest Pull Requests I published

πŸ“œ My recent blog posts

⭐ Recent stars

πŸ’¬ Feedback

If you use one of my projects, I'd love to hear from you! Don't be shy and let me know what you liked and what needs being improved. Got an issue? Open a ticket, I don't bite and will try my best to help!

πŸ“« How to reach me

maurerkrisztian

Want your own self-generating profile page? Check out readme-scribe!

issue-improver-action's People

Contributors

maurerkrisztian avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

issue-improver-action's Issues

Private Repositories with OPENAI key set to organizational secret private repo only -> 401 Error on run

Hi there. Great project, thank you!

I'm experiencing something peculiar, though. I can run this on a public or private repo with the OPENAI API KEY organization secret set to visible for all repositories, and the action works perfectly.

When I set it to private repositories only, it starts failing on both. I understand it should fail on my public repo, but it gives me an "Error: Request failed with status code 401" on the private repo, which should still have access to the organization's secret.

Create release workflow

  • Manual release
  • Changelog generation from conventional commits
  • Automatic versioning from conventional commits

Allow usage for gpt-4 model

A possible enhancement could be to allow for gpt4 to be used. I tried specifying it as 'gpt4' and 'gpt-4', but it does not work. I assume it's because it needs to use the chatCompletion endpoint vs. createCompletion.

Context of issue and comments > 4000 cause 400 errors

If the issue contains more than the maximum allowable tokens, the action throws an Error: Request failed with status code 400.

If the context is greater than 4000 tokens, it should be split into multiple sections, summarized individually and then merged all using Openai to do the operations. So, x+1 Operations where x is the number of chunks.

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.