I've been thinking about this issue for a while now but I finally decided to write a topic about it when I saw the changes done to the vampire hunter scene.
In newer patches, when talking to Gandral, Astarion comments:
"I thought all Gur were vagrant cut-throats."At this, Tav can interject with:
"I knew you were a jackass, Astarion, but a racist?" (new option)"Ignore the elf, he talks too much.""What's a... Gur?" So when it comes to 'jokingly' bigoted comments, Tav has 2 out of 4 answers that show disapproval and 1 that shows confusion. However, no such option is available when he's 'jokingly' racist.
When looking at the stars, if Tav is a halfling or a gnome, Astarion comments:
"I'm not usually impressed by... ah... people of your stature, but you're stronger than I gave you credit for."After feeding, if Tav tells Astarion that he can only feed on animals, this is what he asks:
"Humans and elves are obviously out but what exactly do you consider an animal? Goblins, kobolds... gnomes?"If Tav is a gnome, this changes to:
"Humans and elves are obviously out but what exactly do you consider an animal? Goblins, kobolds... halflings?"After the barn scene, if Tav found it disgusting, Astarion replies:
"Oh, I've seen worse. Gnomes can be... UGH!"In the Grymforge, Astarion (former slave) disapproves of Tav helping the
gnome slaves save their other trapped friends, and approves of letting Nere choke them to death.
(Tangentially related: Thanks, Astarion! I'm so glad you're written as 'player-sexual' instead of race-restricted.

The sadism, disgust, and animal comparisons drive home your love of all races. /sarcasm)
Suggestion:
Larian, if you can add a line when a companion is saying something bigoted.... just add one line, ok, where Tav can at least react to Astarion's other racist comments. I assure you not every Tav likes being compared to an animal, is comfortable with being shown outright disgust, or enjoys hearing this about another race.
Astarion can stay true to his character concept but let Tav react to it - just as Tav can now react to the vampire hunter scene.