Skip to content

Commit a145349

Browse files
authored
Merge pull request #1303 from RainRat/main
fix typos
2 parents 96bb3ca + a9d8cf1 commit a145349

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

docs/guides/profiles.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ interpreter.loop = True
3434

3535
## Helpful settings for local models
3636

37-
Local models benefit from more coersion and guidance. This verbosity of adding extra context to messages can impact the conversational experience of Open Interpreter. The following settings allow templates to be applied to messages to improve the steering of the language model while maintaining the natural flow of conversation.
37+
Local models benefit from more coercion and guidance. This verbosity of adding extra context to messages can impact the conversational experience of Open Interpreter. The following settings allow templates to be applied to messages to improve the steering of the language model while maintaining the natural flow of conversation.
3838

3939
`interpreter.user_message_template` allows users to have their message wrapped in a template. This can be helpful steering a language model to a desired behaviour without needing the user to add extra context to their message.
4040

docs/guides/running-locally.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ interpreter.chat("how many files are on my desktop?")
5050
```
5151

5252
<Info>
53-
Other congifuration settings are explained in
53+
Other configuration settings are explained in
5454
[Settings](/settings/all-settings).
5555
</Info>

interpreter/core/computer/display/display.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def screenshot(
114114
# print(pretty_text)
115115
# print(
116116
# format_to_recipient(
117-
# "To recieve the text above as a Python object, run computer.display.get_text_as_list_of_lists()",
117+
# "To receive the text above as a Python object, run computer.display.get_text_as_list_of_lists()",
118118
# "assistant",
119119
# )
120120
# )

interpreter/core/computer/vision/vision.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def load(self):
3333
"Open Interpreter will use Moondream (tiny vision model) to describe images to the language model. Set `interpreter.llm.vision_renderer = None` to disable this behavior."
3434
)
3535
print(
36-
"Alternativley, you can use a vision-supporting LLM and set `interpreter.llm.supports_vision = True`."
36+
"Alternatively, you can use a vision-supporting LLM and set `interpreter.llm.supports_vision = True`."
3737
)
3838
model_id = "vikhyatk/moondream2"
3939
revision = "2024-04-02"

interpreter/core/server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ async def send_output():
237237
output = await async_interpreter.output()
238238
if isinstance(output, bytes):
239239
# await websocket.send_bytes(output)
240-
# we dont send out bytes rn, no TTS
240+
# we don't send out bytes rn, no TTS
241241
pass
242242
elif isinstance(output, dict):
243243
await websocket.send_text(json.dumps(output))

interpreter/terminal_interface/local_setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ def download_model(models_dir, models, interpreter):
206206
if selected_model == "LM Studio":
207207
interpreter.display_message(
208208
"""
209-
To use use Open Interpreter with **LM Studio**, you will need to run **LM Studio** in the background.
209+
To use Open Interpreter with **LM Studio**, you will need to run **LM Studio** in the background.
210210
211211
1. Download **LM Studio** from [https://lmstudio.ai/](https://lmstudio.ai/), then start it.
212212
2. Select a language model then click **Download**.
@@ -310,7 +310,7 @@ def download_model(models_dir, models, interpreter):
310310
elif selected_model == "Jan":
311311
interpreter.display_message(
312312
"""
313-
To use use Open Interpreter with **Jan**, you will need to run **Jan** in the background.
313+
To use Open Interpreter with **Jan**, you will need to run **Jan** in the background.
314314
315315
1. Download **Jan** from [https://jan.ai/](https://jan.ai/), then start it.
316316
2. Select a language model from the "Hub" tab, then click **Download**.

tests/test_interpreter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ def test_long_message():
580580
"role": "user",
581581
"type": "message",
582582
"content": "ALKI" * 20000
583-
+ "\nwhat are the four characters I just sent you? dont run ANY code, just tell me the characters. DO NOT RUN CODE. DO NOT PLAN. JUST TELL ME THE CHARACTERS RIGHT NOW. ONLY respond with the 4 characters, NOTHING else. The first 4 characters of your response should be the 4 characters I sent you.",
583+
+ "\nwhat are the four characters I just sent you? don't run ANY code, just tell me the characters. DO NOT RUN CODE. DO NOT PLAN. JUST TELL ME THE CHARACTERS RIGHT NOW. ONLY respond with the 4 characters, NOTHING else. The first 4 characters of your response should be the 4 characters I sent you.",
584584
}
585585
]
586586
interpreter.llm.context_window = 300

0 commit comments

Comments
 (0)