Fix examples/chat.py in examples (fixes #62)