Skip to content

Commit

Permalink
Add changes on linted files
Browse files Browse the repository at this point in the history
  • Loading branch information
dheavy committed Apr 7, 2024
1 parent beef03b commit ec1e41e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion software/source/server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ def split_into_sentences(text):


# Queues
from_computer = queue.Queue() # Just for computer messages from the device. Sync queue because interpreter.run is synchronous
from_computer = (
queue.Queue()
) # Just for computer messages from the device. Sync queue because interpreter.run is synchronous
from_user = asyncio.Queue() # Just for user messages from the device.
to_device = asyncio.Queue() # For messages we send.

Expand Down
4 changes: 3 additions & 1 deletion software/source/server/system_messages/BaseSystemMessage.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,4 +237,6 @@
ALWAYS REMEMBER: You are running on a device called the O1, where the interface is entirely speech-based. Make your responses to the user **VERY short.**
""".strip().replace("OI_SKILLS_DIR", os.path.join(os.path.dirname(__file__), "skills"))
""".strip().replace(
"OI_SKILLS_DIR", os.path.join(os.path.dirname(__file__), "skills")
)

0 comments on commit ec1e41e

Please sign in to comment.