fix: hallucination link warn (#158)

This commit is contained in:
JeffJiang
2025-05-15 10:58:24 +08:00
committed by GitHub
parent bf4820c68f
commit 86295ed195

View File

@@ -27,7 +27,7 @@ export const Link = ({
return href ? credibleLinks.has(href) : true;
}, [credibleLinks, href]);
if (isCredible) {
if (!isCredible) {
return (
<Tooltip title="This link might be a hallucination from AI model and may not be reliable.">
<a