Skip to content

Commit

Permalink
Merge pull request #53 from xiaoxx970/xiaoxx970-patch-issuse-51
Browse files Browse the repository at this point in the history
fix #51
  • Loading branch information
xiaoxx970 authored May 25, 2023
2 parents f64b8c7 + a8d605e commit 08e1d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gpt_term/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ def modify_system_prompt(self, new_content: str):
old_content = self.messages[0]['content']
self.messages[0]['content'] = new_content
console.print(
_("gpt_term.system_prompt_moodified",old_content=old_content,new_content=new_content))
_("gpt_term.system_prompt_modified",old_content=old_content,new_content=new_content))
self.current_tokens = count_token(self.messages)
# recount current tokens
if len(self.messages) > 1:
Expand Down

0 comments on commit 08e1d05

Please sign in to comment.