We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94148dc commit ad53724Copy full SHA for ad53724
2 files changed
src/viur/assistant/modules/assistant.py
@@ -400,7 +400,7 @@ def openai_create_completion(
400
message = message["answer"]
401
except (JSONDecodeError, KeyError):
402
raise errors.InternalServerError("Got invalid JSON from API")
403
- return message
+ return message.encode("utf-8").decode() # get rid of unicode codes like \u00ea
404
405
def render_text(self, text: str) -> t.Any:
406
"""
src/viur/assistant/version.py
@@ -2,7 +2,7 @@
2
# For pre-releases, postfix with ".betaN" or ".rcN" where `N` is an incremented number for each pre-release.
3
# This will mark it as a pre-release as well on PyPI.
4
5
-__version__ = "0.0.0.dev5"
+__version__ = "0.0.0.dev6"
6
7
assert __version__.count(".") >= 2 and "".join(__version__.split(".", 3)[:3]).isdigit(), \
8
"Semantic __version__ expected!"
0 commit comments