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;
|
return href ? credibleLinks.has(href) : true;
|
||||||
}, [credibleLinks, href]);
|
}, [credibleLinks, href]);
|
||||||
|
|
||||||
if (isCredible) {
|
if (!isCredible) {
|
||||||
return (
|
return (
|
||||||
<Tooltip title="This link might be a hallucination from AI model and may not be reliable.">
|
<Tooltip title="This link might be a hallucination from AI model and may not be reliable.">
|
||||||
<a
|
<a
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue