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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate [expression] command / plugin #3775

Closed
1 task done
Boostrix opened this issue May 4, 2023 · 6 comments
Closed
1 task done

Calculate [expression] command / plugin #3775

Boostrix opened this issue May 4, 2023 · 6 comments
Labels
enhancement New feature or request function: plugins good first issue Good for newcomers potential plugin This may fit better into our plugin system. Stale

Comments

@Boostrix
Copy link
Contributor

Boostrix commented May 4, 2023

Duplicates

  • I have searched the existing issues

Summary 馃挕

For the time being, any time an agent needs to compute a calculation it needs to resort to CLI tools (which may be disabled) or to writing/executing custom Python code.

Given that calculations are such a common/useful thing, it would probably make sense to come up with a dedicated plugin that adds a "do_calculation" command, based on handing that to a Python library like SymPy/

Examples 馃寛

No response

Motivation 馃敠

get rid of having to write custom python code or having to invoke platform specific CLI tools that may not be accessible for some users.

@Boostrix
Copy link
Contributor Author

Boostrix commented May 5, 2023

Plugin candidate, once the dust settles with #3652
Related: Significant-Gravitas/Auto-GPT-Plugins#86

@anonhostpi
Copy link

Not sure about this one, but I do think it brings up a good point about Inversion of Control. The commands written for this repository should be loosely coupled, so they can be hotswapped with other implementations.

@Boostrix
Copy link
Contributor Author

Boostrix commented May 5, 2023

on any *nix platform, there is zero problem obviously, because you inevitably have got access to stuff like bc and friends. But this being a cross-platform project ...

@anonhostpi
Copy link

Added this to discussion #3856

@github-actions
Copy link

github-actions bot commented Sep 6, 2023

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

@github-actions github-actions bot added the Stale label Sep 6, 2023
@github-actions
Copy link

This issue was closed automatically because it has been stale for 10 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request function: plugins good first issue Good for newcomers potential plugin This may fit better into our plugin system. Stale
Projects
None yet
Development

No branches or pull requests

4 participants