feat(video): generate transcripts with the local embedding server

This commit is contained in:
yiling
2026-12-02 22:12:33 +08:00
parent 17ba2631c5
commit e806435e49
46 changed files with 5233 additions and 88 deletions
@@ -0,0 +1,14 @@
import { useQuery } from '@tanstack/react-query'
import { client } from '@/ui/api/client'
export function useServerFeatures() {
return useQuery({
queryKey: ['signup-info'],
queryFn: async () => {
const res = await client.api['signup-info'].$get()
if (!res.ok) return null
return await res.json()
},
staleTime: 5 * 60 * 1000,
})
}