Skip to content

Commit

Permalink
fix: #552 by replace star
Browse files Browse the repository at this point in the history
Signed-off-by: yihong0618 <[email protected]>
  • Loading branch information
yihong0618 committed Oct 10, 2024
1 parent 8f7e0f0 commit 8e4a35d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions xiaogpt/xiaogpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ def _normalize(message: str) -> str:
message = message.strip().replace(" ", "--")
message = message.replace("\n", ",")
message = message.replace('"', ",")
message = message.replace('*', "")
return message

async def ask_gpt(self, query: str) -> AsyncIterator[str]:
Expand Down

0 comments on commit 8e4a35d

Please sign in to comment.