Skip to content

Add a source range prompt containing the current file content range#8129

Merged
franknoirot merged 3 commits intomainfrom
franknoirot/adhoc/send-current-file-ttc
Aug 22, 2025
Merged

Add a source range prompt containing the current file content range#8129
franknoirot merged 3 commits intomainfrom
franknoirot/adhoc/send-current-file-ttc

Conversation

@franknoirot
Copy link
Copy Markdown
Contributor

To help @greg-kcio with not needing to stuff everything into the LLM context window.

To help @greg-kcio with not needing to stuff everything into the LLM
context window.
@franknoirot franknoirot requested a review from a team as a code owner August 22, 2025 00:33
@vercel
Copy link
Copy Markdown

vercel Bot commented Aug 22, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
modeling-app Ready Ready Preview Comment Aug 22, 2025 2:01am

@franknoirot franknoirot requested a review from greg-kcio August 22, 2025 00:34
Comment thread src/lib/promptToEdit.tsx
[0, currentFile.content.length, 0],
currentFile.content
),
file: currentFileMeta?.relPath,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey just want to make sure it's okay if file is undefined here @greg-kcio. It shouldn't ever be but the type definition I was working with had it as optional

@franknoirot franknoirot merged commit 49d40f2 into main Aug 22, 2025
56 checks passed
@franknoirot franknoirot deleted the franknoirot/adhoc/send-current-file-ttc branch August 22, 2025 13:17
pierremtb added a commit that referenced this pull request Aug 27, 2025
pierremtb added a commit that referenced this pull request Aug 27, 2025
* Revert "Update onboarding with new conversational ttc ui (#8147)"

This reverts commit e7626e9.

* Revert "CSS tweaks follow to TTC UI (#8137)"

This reverts commit 199d5a3.

* Revert "Don't include the current file prompt if there is no current file (#8135)"

This reverts commit 5c1a417.

* Revert "Add a source range prompt containing the current file content range (#8129)"

This reverts commit 49d40f2.

* Revert "Move clearing of TTC project-specific state to SystemIO (#8130)"

This reverts commit e42e5f8.

* Revert "Rename "Text-to-CAD Create" command to "Create project using Text-to-CAD" (#8127)"

This reverts commit f7fc3b2.

* Revert "Text-to-CAD UX revamp phase 1 (#7542)"

This reverts commit c699bb0.

* Update snapshots

* Update snapshots

* Fix tsc

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@pierremtb pierremtb mentioned this pull request Aug 27, 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.

2 participants