Adding nextjs + 11labs + openai streaming demo (#139)

* adding nextjs + 11labs + openai streaming demo

* removing package-lock
This commit is contained in:
Rohan Richard
2025-03-08 00:54:23 +05:30
committed by GitHub
parent 4cac472ff4
commit 6905810f37
31 changed files with 1654 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
"use client"
import { Trash } from "lucide-react"
export function ResetChat() {
return (
<button
className="w-10 h-10 rounded-md flex items-center justify-center transition-colors relative overflow-hidden bg-black/10 hover:bg-black/20 dark:bg-white/10 dark:hover:bg-white/20"
aria-label="Reset chat"
onClick={() => fetch("http://localhost:8000/reset")}
>
<div className="relative z-10">
<Trash className="h-5 w-5 text-black/70 dark:text-white/70" />
</div>
</button>
)
}