add podcast api service

This commit is contained in:
thierryverse 2025-11-18 18:35:48 +02:00
parent 5361290315
commit 20cd1951b5
5 changed files with 54 additions and 22 deletions

View file

@ -27,8 +27,8 @@ export function ChatPanelContainer() {
await podcastsApiService.generatePodcast(request);
toast.success(`Podcast generation started!`);
} catch (error) {
toast.error("Error generating podcast. Please log in again.");
console.error("Error generating podcast:", error);
toast.error("Error generating podcast. Please try again later.");
console.error("Error generating podcast:", JSON.stringify(error));
}
};