Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
whimo committed Jun 4, 2024
1 parent 738e022 commit 0f2fea3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions docs/source/install_pandoc.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Script for installing Pandoc in GitHub Actions CI environments.
"""

import os
import shutil
from pypandoc.pandoc_download import download_pandoc
Expand Down
8 changes: 4 additions & 4 deletions docs/source/key_concepts.rst
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ For describing more complex tasks, you should subclass the `Task` class. It has
methods that you should implement: ``get_next_unit`` and ``get_worker``, as well as some optional methods
that you can override to customize the task's behavior.

#. ``get_next_unit`` should return the next task unit to be processed. If there are no units to do at the moment, it should return `None`.
#. ``get_worker`` should return the worker (typically an agent) that will process the task's units.
#. `optional` ``register_started_unit`` is called by the crew when a task unit is dispatched. By default, it just connects the unit to the task in the graph.
#. `optional` ``register_completed_unit`` is called by the crew when a task unit is completed. By default, it does nothing.
#. ``get_next_unit()`` should return the next task unit to be processed. If there are no units to do at the moment, it should return `None`.
#. ``get_worker()`` should return the worker (typically an agent) that will process the task's units.
#. `optional` ``register_started_unit(unit)`` is called by the crew when a task unit is dispatched.
#. `optional` ``register_completed_unit(unit)`` is called by the crew when a task unit is completed.


Task hierarchy
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "motleycrew"
version = "0.1.1"
version = "0.1.2"
description = "A lightweight agent interaction framework."
authors = ["MotleyCrew <[email protected]>"]
readme = "README.md"
Expand Down

0 comments on commit 0f2fea3

Please sign in to comment.