Skip to content

Commit

Permalink
experiment with utf-8 encoding to see if efforts were wasted
Browse files Browse the repository at this point in the history
  • Loading branch information
gptlang committed Feb 5, 2024
1 parent 135f968 commit cb998fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rplugin/python3/handlers/chat_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def _add_chat_messages(
last_line_col,
last_line_row,
last_line_col,
token.split("\n"),
[tok.encode("utf-8") for tok in token.split("\n")],
)

def _add_end_separator(self, model: str, no_annoyance: bool = False):
Expand Down

0 comments on commit cb998fe

Please sign in to comment.