Skip to content

Commit a5fa0e7

Browse files
richieloRichie Lo
andauthored
prompt builder obs typo (#22)
Co-authored-by: Richie Lo <[email protected]>
1 parent e7854a1 commit a5fa0e7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 23.12.1
3+
rev: 24.10.0
44
hooks:
55
- id: black
66
- repo: https://github.com/pycqa/isort

balrog/prompt_builder/history.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def get_prompt(self, icl_episodes=False) -> List[Message]:
114114
if idx == len(self._events) - 1:
115115
content = "Current Observation:\n" + self._last_short_term_obs + "\n" + event["text"] + image_obs
116116
else:
117-
content = "Obesrvation:\n" + event["text"] + image_obs
117+
content = "Observation:\n" + event["text"] + image_obs
118118
message = Message(role="user", content=content, attachment=image)
119119

120120
# Clean up the temporary flag

docs/contribution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ If you would like to work on any of the open Issues:
4646
4. Set up a development environment by running the following command in a virtual (or conda) environment:
4747

4848
```bash
49-
pip install -e .[dev]
49+
pip install -e '.[dev]'
5050
```
5151

5252
5. Develop the features on your branch.

0 commit comments

Comments
 (0)