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

Toolkit update #937

Merged
merged 12 commits into from
Aug 3, 2023
Merged

Toolkit update #937

merged 12 commits into from
Aug 3, 2023

Conversation

luciferlinx101
Copy link
Collaborator

@luciferlinx101 luciferlinx101 commented Aug 1, 2023

Description

Prod only feature, any toolkit which is already installed and if there is change in toolkit in marketplace then now once can update their tool.

Related Issues

Solution and Design

Test Plan

Improve Code tool can be now added to user which dont have that since it is already in marketplace

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Docs update

Checklist

  • My pull request is atomic and focuses on a single change.
  • I have read the contributing guide and my code conforms to the guidelines.
  • I have documented my changes clearly and comprehensively.
  • I have added the required tests.

@CLAassistant
Copy link

CLAassistant commented Aug 2, 2023

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Aug 2, 2023

Codecov Report

Patch coverage: 49.15% and project coverage change: -0.43% ⚠️

Comparison is base (b518bc9) 57.84% compared to head (81837e5) 57.41%.
Report is 5 commits behind head on dev.

❗ Current head 81837e5 differs from pull request most recent head 0c069a7. Consider uploading reports for the commit 0c069a7 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #937      +/-   ##
==========================================
- Coverage   57.84%   57.41%   -0.43%     
==========================================
  Files         176      176              
  Lines        7448     7533      +85     
  Branches      769      794      +25     
==========================================
+ Hits         4308     4325      +17     
- Misses       2970     3040      +70     
+ Partials      170      168       -2     
Files Changed Coverage Δ
superagi/controllers/toolkit.py 43.33% <18.51%> (-7.21%) ⬇️
superagi/models/tool.py 57.40% <60.00%> (+0.26%) ⬆️
superagi/models/tool_config.py 78.78% <66.66%> (-1.22%) ⬇️
superagi/helper/tool_helper.py 42.92% <79.16%> (+4.65%) ⬆️

... and 5 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Comment on lines 171 to 182
export const updateMarketplaceToolTemplate = (templateName) => {
return api.get(`/toolkits/check_update/${templateName}`);
};

export const installToolkitTemplate = (templateName) => {
return api.get(`/toolkits/get/install/${templateName}`);
};

export const checkToolkitUpdate = (templateName) => {
return api.get(`/toolkits/check_update/${templateName}`);
};

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same endpoint with different functions

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix kar diya hai, approve krdo bhai

@namansleeps namansleeps merged commit a8bb0bb into dev Aug 3, 2023
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants