fix: hallucination link warn (#158)
This commit is contained in:
parent
0f9ac7cd23
commit
9edaf1df3e
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue