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

feat(platform): Implement Auto-Top-Up credits capability #9278

Open
wants to merge 67 commits into
base: dev
Choose a base branch
from

Conversation

majdyz
Copy link
Contributor

@majdyz majdyz commented Jan 15, 2025

image

Changes 🏗️

Added auto-top-up credits capability:

  • Added autoTopUpConfig column on user
  • Added autoTopUp form UI
  • Added payment charge logic for top_up_credits
  • Added auto-top-up logic on spend_credits

Checklist 📋

For code changes:

  • I have clearly listed my changes in the PR description
  • I have made a test plan
  • I have tested my changes according to the test plan:
    • ...
Example test plan
  • Create from scratch and execute an agent with at least 3 blocks
  • Import an agent from file upload, and confirm it executes correctly
  • Upload agent to marketplace
  • Import an agent from marketplace and confirm it executes correctly
  • Edit an agent from monitor, and confirm it executes correctly

For configuration changes:

  • .env.example is updated or already compatible with my changes
  • docker-compose.yml is updated or already compatible with my changes
  • I have included a list of my configuration changes in the PR description (under Changes)
Examples of configuration changes
  • Changing ports
  • Adding new services that need to communicate with each other
  • Secrets or environment variable changes
  • New or infrastructure changes such as databases

@github-actions github-actions bot removed the conflicts Automatically applied to PRs with merge conflicts label Jan 19, 2025
Copy link
Contributor

Conflicts have been resolved! 🎉 A maintainer will review the pull request shortly.

…eate-auto-top-up-balance-mechanism' into zamilmajdy/secrt-1017-phase-2-create-auto-top-up-balance-mechanism
@majdyz majdyz requested a review from kcze January 21, 2025 10:58
@majdyz majdyz enabled auto-merge January 24, 2025 14:43
kcze
kcze previously approved these changes Jan 24, 2025
@majdyz majdyz added this pull request to the merge queue Jan 24, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 24, 2025
@majdyz majdyz enabled auto-merge January 24, 2025 16:41
@majdyz majdyz added this pull request to the merge queue Jan 27, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 27, 2025
@majdyz majdyz added this pull request to the merge queue Jan 27, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform/backend AutoGPT Platform - Back end platform/frontend AutoGPT Platform - Front end Review effort [1-5]: 4 size/l
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

2 participants