fix: initialize usedPath in covers.js to prevent ReferenceError
This commit is contained in:
@@ -526,6 +526,7 @@ async function generateCover({ articleId, title, tags = [], channelId = null })
|
|||||||
const prompt = buildCoverPrompt({ title, tags, articleId, channelStyle, rubric: selectedRubric });
|
const prompt = buildCoverPrompt({ title, tags, articleId, channelStyle, rubric: selectedRubric });
|
||||||
|
|
||||||
let img;
|
let img;
|
||||||
|
let usedPath = 'routerai';
|
||||||
|
|
||||||
// Единственный провайдер картинок: routerai /responses + gpt-5-image-mini
|
// Единственный провайдер картинок: routerai /responses + gpt-5-image-mini
|
||||||
// Цена: ~₽2.72/картинка (4175 image tokens, high quality, quality param не работает)
|
// Цена: ~₽2.72/картинка (4175 image tokens, high quality, quality param не работает)
|
||||||
|
|||||||
Reference in New Issue
Block a user