feat: enable images in content

This commit is contained in:
Henry Li
2026-01-29 12:51:04 +08:00
parent e4d373541f
commit f809b67c47
3 changed files with 3 additions and 3 deletions

View File

@@ -233,7 +233,6 @@ function ToolCall({
}[];
}
)?.results;
console.info("image_search", results);
return (
<ChainOfThoughtStep key={id} label={label} icon={SearchIcon}>
{Array.isArray(results) && (

View File

@@ -87,7 +87,7 @@ function MessageContent_({
if (typeof src !== "string") {
return (
<img
className="max-w-full overflow-hidden rounded-lg"
className="max-w-[90%] overflow-hidden rounded-lg"
src={src}
alt={alt}
/>
@@ -100,7 +100,7 @@ function MessageContent_({
return (
<a href={url} target="_blank" rel="noopener noreferrer">
<img
className="max-w-full overflow-hidden rounded-lg"
className="max-w-[90%] overflow-hidden rounded-lg"
src={url}
alt={alt}
/>