Exception thrown while trying to generate message: string indices must be integers
Opened this issue · 2 comments
Mozitux commented
Hi
I have this message on discord when I try to interact with the bot :
Exception thrown while trying to generate message: string indices must be integers
How can I fix this issue?
heriklesDM commented
You can fix it temporarily by changing line 76 in llmchat/llm_sources/llama.py from
ret += chunk["choices"][0]["text"]
to
ret += chunk
Mozitux commented
You can fix it temporarily by changing line 76 in llmchat/llm_sources/llama.py from
ret += chunk["choices"][0]["text"]
toret += chunk
Thanks, it's work!