A description of the changes proposed in the pull request:
There are examples that just use a normal str for prompt. However, built-in IDE type checkers get mad. This seems to be an inconsistency that can be resolved by including the str type as a union.