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

Develop mechanism to set plugin execution order #64

Open
cfirth-nasa opened this issue Oct 20, 2023 · 1 comment
Open

Develop mechanism to set plugin execution order #64

cfirth-nasa opened this issue Oct 20, 2023 · 1 comment

Comments

@cfirth-nasa
Copy link
Contributor

We might eventually require a way for plugins to be ordered to maintain data structures and keep internal data up-to-date; for example, if planning plugin B requires some output of planning plugin A, we should have a mechanism in place to ensure that planner A always runs before B.

We'd discussed using the order of the plugin dictionary (specified in the config file) to set the plugin execution order, but it might be beneficial (and a little fun) to try to find a way to do so automatically, based on required inputs/outputs to each plugin.

@asgibson
Copy link
Contributor

The current implementation runs constructs in the order of their entry in the config file dict. I agree that providing a way to change that could be beneficial, but if ordering only gets set at config time then a user would only need to change the config file order prior to runtime. Could there be a need/desire to change the ordering of AI construct execution during runtime?

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

No branches or pull requests

2 participants