Skip to content

Commit 0020c44

Browse files
committed
readme and doc updated
1 parent 8585237 commit 0020c44

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ Both agents leverage the multi-modal capabilities of GPT-4V(o) to comprehend the
3535

3636

3737
## 📢 News
38+
- 📅 2025-01-21: Version **v1.2.1** Released! We’re excited to announce the release of **v1.2.1**! 🎉 This update includes:
39+
1. **Bug Fixes**: Resolved issues in `requirements.txt` for smoother setup.
40+
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.
3841
- 📅 2024-12-13: We have a **New Release for v1.2.0!**! Checkout our new features and improvements:
3942
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.
4043
2. **Bash Command Support:** HostAgent also support bash command now!

documents/docs/configurations/developer_configuration.md

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ The following parameters are included in the system configuration of the UFO age
1818
| `CONTROL_LIST` | The list of widgets allowed to be selected. | List | ["Button", "Edit", "TabItem", "Document", "ListItem", "MenuItem", "ScrollBar", "TreeItem", "Hyperlink", "ComboBox", "RadioButton", "DataItem"] |
1919
| `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"] |
2020
| `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"} |
21+
| `ANNOTATION_FONT_SIZE` | The font size for the annotation. | Integer | 22 |
2122
| `PRINT_LOG` | Whether to print the log in the console. | Boolean | False |
2223
| `CONCAT_SCREENSHOT` | Whether to concatenate the screenshots into a single image for the LLM input. | Boolean | False |
2324
| `INCLUDE_LAST_SCREENSHOT` | Whether to include the screenshot from the last step in the observation. | Boolean | True |

ufo/module/basic.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,11 @@ def results(self) -> Dict[str, str]:
541541
return self._results
542542

543543
@results.setter
544-
def results(self, value):
544+
def results(self, value: Dict[str, str]) -> None:
545+
"""
546+
Set the evaluation results of the session.
547+
:param value: The evaluation results of the session.
548+
"""
545549
self._results = value
546550

547551
def experience_saver(self) -> None:

ufo/module/sessions/session.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def run(self) -> None:
181181
self.experience_saver()
182182

183183
elif save_experience == "auto":
184-
task_completed = self.results.get("task_completed", "no")
184+
task_completed = self.results.get("complete", "no")
185185
if task_completed.lower() == "yes":
186186
self.experience_saver()
187187

0 commit comments

Comments
 (0)