Skip to content

Commit 752ea49

Browse files
authored
Limit podcast script to 3 paragraphs
1 parent 7d351de commit 752ea49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/geminiService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export const generateScriptFromMaterial = async (material: any) => {
5757
try {
5858
// Zkrátíme vstup na 2000 znaků, aby malina nehodila chybu 500
5959
const materialSnippet = JSON.stringify(material).substring(0, 2000);
60-
const prompt = `Jsi studijní asistent. Vytvoř krátký scénář podcastu z tohoto textu: ${materialSnippet}`;
60+
const prompt = `Jsi studijní asistent. Vytvoř krátký scénář podcastu z tohoto textu (max 3 odstavce): ${materialSnippet}`;
6161

6262
const result = await sendMessageToGemini(prompt);
6363

0 commit comments

Comments
 (0)