Small prompt update.

This commit is contained in:
2025-06-17 11:09:32 +03:00
parent e3c8c45d76
commit db70281d67

View File

@@ -168,6 +168,8 @@ export const createActivityContent = async ({
Convert time to hours or minutes, whatever's closer. Convert time to hours or minutes, whatever's closer.
Convert distance to larger units when appropriate, keep in mind we don't need much accuracy. Convert distance to larger units when appropriate, keep in mind we don't need much accuracy.
In the end of the description, add "${promo}" translated to my language.
The activity data in json format from strava: The activity data in json format from strava:
${stringifyActivity(currentActivity)} ${stringifyActivity(currentActivity)}
@@ -215,7 +217,7 @@ export const createActivityContent = async ({
const stravaRequestBody = { const stravaRequestBody = {
name: responseObject!.title, name: responseObject!.title,
description: [responseObject!.description, promo].join("\n"), description: responseObject!.description,
}; };
return [aiError || parseError, stravaRequestBody] as const; return [aiError || parseError, stravaRequestBody] as const;