Skip to content

Conversation

@mrubens
Copy link
Collaborator

@mrubens mrubens commented Dec 24, 2024

Based on a discussion in discord around how this would be nice for generating unique names for LLM-created files


Important

Adds current time with timezone to system prompt in Cline.ts for unique file name generation, with tests to verify correct formatting.

  • Behavior:
    • Adds current time with timezone to system prompt in Cline.ts for unique file name generation.
    • Formats time as local string with timezone and UTC offset.
  • Tests:
    • Adds test in Cline.test.ts to verify timezone information is included and formatted correctly in getEnvironmentDetails().
  • Misc:
    • Appends time details to environment details in getEnvironmentDetails() function.
    • Updates README to include current time feature in system prompt.

This description was created by Ellipsis for f397e2b. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Dec 24, 2024

🦋 Changeset detected

Latest commit: f397e2b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
roo-cline Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mrubens mrubens force-pushed the add_current_time_to_environment_details branch from 174f975 to d9e2bac Compare December 24, 2024 06:28
@mrubens mrubens merged commit 578fa5f into main Dec 24, 2024
4 checks passed
@mrubens mrubens deleted the add_current_time_to_environment_details branch December 24, 2024 19:58
roomote pushed a commit that referenced this pull request Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants