mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 15:49:09 +03:00
fix(db-playground): ai response hidden in chat
This commit is contained in:
1 parent
021276345a
commit
7fbfd7110d
1 file changed
+2
-1
@@ -244,9 +244,10 @@ export default function Page() {
|
||||
{messages.length > 0 ? (
|
||||
<div className="flex flex-col gap-4 w-full max-w-4xl p-10">
|
||||
{messages
|
||||
// Don't include tool calls that don't have an associated UI
|
||||
.filter(
|
||||
(message) =>
|
||||
message.content ||
|
||||
// Don't include tool calls that don't have an associated UI
|
||||
!message.toolInvocations?.every((t) => t.toolName !== 'generateChart')
|
||||
)
|
||||
.map((message) => {
|
||||
|
||||
Reference in new issue
Block a user