Skip to content

👺 OpenAI's limitation on characters limit #5

Description

@FelipeFTN

What's the issue? 🤔

Currently, we have a limitation on CommitGPT abilities to analyze our code changes.
Since OpenAI limits our "tokens" sent, we only have a limited max capacity of characters in our messages. 💀

I still don't know how many, and a way to work around this, but usually, when I got many files changed, and a big git diff on my local git, OpenAI's API will not allow we to use commitGPT, since we will send a very large message to be encoded and tokenized by them.
Usually, when we try to commitgpt large changes, we will receive a 400 bad request status code from GPT's API.

I assume it only supports git diffs of up to 200 lines of code for now... ✍️

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions