SurfSense/surfsense_web/components/chat/ChatPannel/actions.ts

16 lines
413 B
TypeScript
Raw Normal View History

2025-10-23 01:28:07 +02:00
"use server";
import type { PodCastInterface } from "./ChatPanelContainer";
export const generatePodCastAction = async (formData: { prompt: string; chatId: string }) => {
console.log("Generating podcast");
};
export const getChatPodcastPromise = async (chatId: string): Promise<PodCastInterface> => {
return Promise.resolve({
title: "Test",
podcast_transcript: "Test",
search_space_id: "Test",
});
};