I have a tiel that steals a sip of my tea every once in a while. I'd imagine the sip of coffee your tiel took will have no ill effects as well.
I would never recommend to anyone to offer caffeine (or any of the other "bad" things for birds) frequently to their fids.
http://www.multiscope.com/hotspot/caffeine.htm