Replies: 1 comment
-
With 2 small fix in modules/chat.py.AttributeError: 'list' object has no attribute 'strip' - Function calls convert user_input to list object, breaking string methods. user_input = user_input.strip()
# to
if isinstance(user_input, str): user_input = user_input.strip()AttributeError: 'list' object has no attribute 'replace' - html.escape fails on list objects during tool processing. visible_text = html.escape(text)
# to
visible_text = html.escape(text) if isinstance(text, str) else str(text) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
To gather a list of repositories or projects that work or not with the #6827 OpenAI compatible API function-call support in textgen.
Optionally, tell which model is used.
Beta Was this translation helpful? Give feedback.
All reactions