Skip to content

Commit

Permalink
readme and doc updated
Browse files Browse the repository at this point in the history
  • Loading branch information
vyokky committed Jan 21, 2025
1 parent 8585237 commit 0020c44
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ Both agents leverage the multi-modal capabilities of GPT-4V(o) to comprehend the


## 📢 News
- 📅 2025-01-21: Version **v1.2.1** Released! We’re excited to announce the release of **v1.2.1**! 🎉 This update includes:
1. **Bug Fixes**: Resolved issues in `requirements.txt` for smoother setup.
2. **Multi-Action Mode**: Introducing a powerful new feature to execute **multiple actions** in a single inference step! Enable this mode by setting `ACTION_SEQUENCE=True` in `config_dev.yaml` and enjoy a more efficient workflow.
- 📅 2024-12-13: We have a **New Release for v1.2.0!**! Checkout our new features and improvements:
1. **Large Action Model (LAM) Data Collection:** We have released the code and sample data for Large Action Model (LAM) data collection with UFO! Please checkout our [new paper](https://arxiv.org/abs/2412.10047), [code](dataflow/README.md) and [documentation](https://microsoft.github.io/UFO/dataflow/overview/) for more details.
2. **Bash Command Support:** HostAgent also support bash command now!
Expand Down
1 change: 1 addition & 0 deletions documents/docs/configurations/developer_configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ The following parameters are included in the system configuration of the UFO age
| `CONTROL_LIST` | The list of widgets allowed to be selected. | List | ["Button", "Edit", "TabItem", "Document", "ListItem", "MenuItem", "ScrollBar", "TreeItem", "Hyperlink", "ComboBox", "RadioButton", "DataItem"] |
| `HISTORY_KEYS` | The keys of the step history added to the [`Blackboard`](../agents/design/blackboard.md) for agent decision-making. | List | ["Step", "Thought", "ControlText", "Subtask", "Action", "Comment", "Results", "UserConfirm"] |
| `ANNOTATION_COLORS` | The colors assigned to different control types for annotation. | Dictionary | {"Button": "#FFF68F", "Edit": "#A5F0B5", "TabItem": "#A5E7F0", "Document": "#FFD18A", "ListItem": "#D9C3FE", "MenuItem": "#E7FEC3", "ScrollBar": "#FEC3F8", "TreeItem": "#D6D6D6", "Hyperlink": "#91FFEB", "ComboBox": "#D8B6D4"} |
| `ANNOTATION_FONT_SIZE` | The font size for the annotation. | Integer | 22 |
| `PRINT_LOG` | Whether to print the log in the console. | Boolean | False |
| `CONCAT_SCREENSHOT` | Whether to concatenate the screenshots into a single image for the LLM input. | Boolean | False |
| `INCLUDE_LAST_SCREENSHOT` | Whether to include the screenshot from the last step in the observation. | Boolean | True |
Expand Down
6 changes: 5 additions & 1 deletion ufo/module/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,11 @@ def results(self) -> Dict[str, str]:
return self._results

@results.setter
def results(self, value):
def results(self, value: Dict[str, str]) -> None:
"""
Set the evaluation results of the session.
:param value: The evaluation results of the session.
"""
self._results = value

def experience_saver(self) -> None:
Expand Down
2 changes: 1 addition & 1 deletion ufo/module/sessions/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ def run(self) -> None:
self.experience_saver()

elif save_experience == "auto":
task_completed = self.results.get("task_completed", "no")
task_completed = self.results.get("complete", "no")
if task_completed.lower() == "yes":
self.experience_saver()

Expand Down

0 comments on commit 0020c44

Please # to comment.