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

FSM scaffold tool should generate a working skill. #1884

Open
jmoreira-valory opened this issue Mar 17, 2023 · 0 comments
Open

FSM scaffold tool should generate a working skill. #1884

jmoreira-valory opened this issue Mar 17, 2023 · 0 comments
Labels
enhancement New feature or request open-autonomy Related to open-autonomy framework

Comments

@jmoreira-valory
Copy link
Collaborator

Is your feature request related to a problem? Please describe.
Currently, autonomy scaffold fsm generates a collection of template classes that require be populated in order to have a working component.

If a user starts working in an service and uses this empty FSM (as it has been generated), it will fail when the service is run (e.g., locally for testing).

Describe the solution you'd like
A much nicer user experience would be that the user can scaffold the FSM and have some dummy agent/service running (without needing to code anyting), and then he can start coding and tuning it according to their needs.

I agree this might be complicated because it heavily deppends on the structure of the FSM for each service. A possible idea would be that the code of the "dummy" FSM created simply waits X seconds and returns the first event in alphabetical order in each state (i.e., the scaffold tool hardcodes the state on the code). In summary:

  • Each round is CollectSameUntilAll and returns the first event in alphabetical order.
  • Each behaviour waits X seconds and returns a fixed dummy payload.

Describe alternatives you've considered

Additional context
This comes when presenting the guides/tutorial. It "breaks" the presentation flow to have something that needs a lot of coding to make it work.

@Adamantios Adamantios added enhancement New feature or request cli CLI feature requests open-autonomy Related to open-autonomy framework and removed cli CLI feature requests labels Mar 21, 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 open-autonomy Related to open-autonomy framework
Projects
None yet
Development

No branches or pull requests

2 participants