mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-13 17:52:38 +02:00
16 lines
413 B
TypeScript
16 lines
413 B
TypeScript
|
|
"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",
|
||
|
|
});
|
||
|
|
};
|