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

[DRAFT] Adds new CLI commands for run and deploy #165

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

maximilien
Copy link
Collaborator

@maximilien maximilien commented Jan 31, 2025

  • Run command class with stub
  • Deploy command class with stub
  • fixes a bug in the Validate class
  • re-arranges locations of test YAMLs into test/yamls/...
  • renames all YAML files with .yaml
  • removes the JSON files. If needed open issue to dynamically genrate with --json-create or similar flag
  • fixes simple_workflow.yaml and conditional_workflow.yaml to validate with schema

TEST

Test this PR with the following bash commands in the bee-hive/bee-hive directory:

poetry run ./beeAI validate ../tools/workflow_schema.json ../test/yamls/workflows/funnier_workflow.yaml
poetry run ./beeAI run ../test/yamls/agents/simple_agent.yaml ../test/yamls/workflows/simple_workflow.yaml
poetry run ./beeAI deploy ../test/yamls/agents/simple_agent.yaml ../test/yamls/workflows/simple_workflow.yaml

TODO

  • Change Run.run() to call code in bee-hive/run_workflow.py
  • Change Deploy.deploy() to call code in bee-hive/deploy_workflow.py # or similar deploy file since not seeing it
  • Add tests that use mocked agents

When merged this PR fixes issues #114 and #115

* Run command class
* Deploy command class
* Fixes a bug in the Validate class
* re-arranges locations of test YAMLS into test/yamls/...
* renames all YAML files with .yaml
* removes the JSON files. If needed open issue to dynamically genrate with --json-create or similar
@maximilien maximilien added the hive Multiagent orchestration label Jan 31, 2025
@maximilien maximilien added this to the POC1 milestone Jan 31, 2025
@maximilien maximilien self-assigned this Jan 31, 2025
@maximilien maximilien changed the title [DRAFT] Adds new CLI command for run and deploy [DRAFT] Adds new CLI commands for run and deploy Jan 31, 2025
@maximilien maximilien changed the title [DRAFT] Adds new CLI commands for run and deploy [DRAFT] Adds new CLI commands for run and deploy Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hive Multiagent orchestration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CLI "deploy" function for workflows CLI "run" function for workflows
1 participant