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

Rewrite - Migrate from g4f to ChatGPT's proxy, utilising OpenAI's official api package #21

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from

Commits on Apr 13, 2024

  1. YeetAI: Track our own fork of the pyrogram's fork

    * The fork gets updated frequently, and as
      a result, the poetry.lock's hash often get
      mismatched whenever it does. Tracking our
      own fork allows us to controllably sync
      changes and update the lock file accordingly.
    hakimifr committed Apr 13, 2024
    Configuration menu
    Copy the full SHA
    752ce73 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cac175e View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2024

  1. src: Bot: Switch to a command-handler implementation

    Signed-off-by: Pratham Dubey <[email protected]>
    prathamdby committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    dcc8935 View commit details
    Browse the repository at this point in the history
  2. src: Bot: Implement category support for the command-handler

    Adapt to the logging format in line with the rest of the bot as well.
    
    Signed-off-by: Pratham Dubey <[email protected]>
    prathamdby committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    d7459b1 View commit details
    Browse the repository at this point in the history
  3. src!: Migarate fully over to the official OpenAI SDK

    Update the example .env file. Drop all of the G4F-related codebase. Clean up some parts of the codebase.
    
    Signed-off-by: Pratham Dubey <[email protected]>
    prathamdby committed Apr 14, 2024
    Configuration menu
    Copy the full SHA
    c3f5e64 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2024

  1. src/commands/AI: ask: Switch to the async variant of the OpenAI client

    Run the isort tool to sort out the project's import statements.
    
    Signed-off-by: Pratham Dubey <[email protected]>
    prathamdby committed Apr 15, 2024
    Configuration menu
    Copy the full SHA
    11587cb View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2024

  1. Configuration menu
    Copy the full SHA
    7e07785 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    10ae059 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    801c30e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3177854 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2024

  1. Configuration menu
    Copy the full SHA
    702cfd9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9079802 View commit details
    Browse the repository at this point in the history
  3. src/commands/AI: ask: Nuke redundant event loop policy logging

    * Now that we no longer use g4f
    hakimifr committed Apr 26, 2024
    Configuration menu
    Copy the full SHA
    5f1faee View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2024

  1. Configuration menu
    Copy the full SHA
    e90b731 View commit details
    Browse the repository at this point in the history

Commits on Apr 29, 2024

  1. Configuration menu
    Copy the full SHA
    a0ac929 View commit details
    Browse the repository at this point in the history

Commits on May 4, 2024

  1. Partial revert of commit: 'e90b731: src: Command: Implement a more ro…

    …bust mechanism for command-files data
    
    * Revert back to storing raw cmd data dict. Leave the class though,
      as it can be used to parse the data when needed.
    hakimifr committed May 4, 2024
    Configuration menu
    Copy the full SHA
    c25d917 View commit details
    Browse the repository at this point in the history