strautomator / core

Strautomator Core
MIT License
41 stars 5 forks source link

AI activity name cutoff #47

Closed Glennmen closed 3 months ago

Glennmen commented 3 months ago

Not sure what went wrong but it seems that the generated name was to long and that some of it was cut off. It seems to be cutoff on Strautomator side I am guessing, in Strava UI I could manually edit the activity and add more characters.

CleanShot 2024-05-27 at 19 59 25@2x It is in Dutch 😅

igoramadas commented 3 months ago

Hi @Glennmen could you send me the activity ID so I can check on the logs?

I've added a few mitigations to retry the prompt with a higher token count if the result was "abruptly cut", but clearly that hasn't worked out in this case. I'll have to investigate it further.

Glennmen commented 3 months ago

@igoramadas Sure, I have however manually edited the activity and removed the cutoff part because it looked weird 😅 https://www.strava.com/activities/11510590765

igoramadas commented 3 months ago

https://github.com/strautomator/core/commit/373163dab6ea01264d0274d815488ee5aa988e3c

Will be deployed next weekend.

Glennmen commented 3 months ago

Awesome! I will close the issue, will be hard for me to validate if it is fixed anyways 😅 and I trust you.