Very confusing?   The prompt is what the agent says?  The showText is what is displayed over the input box?  Why are you having agent say showText???