Skip to content

Don't include the current file prompt if there is no current file#8135

Merged
franknoirot merged 2 commits into
mainfrom
franknoirot/adhoc/fix-context-addition
Aug 22, 2025
Merged

Don't include the current file prompt if there is no current file#8135
franknoirot merged 2 commits into
mainfrom
franknoirot/adhoc/fix-context-addition

Conversation

@franknoirot

Copy link
Copy Markdown
Contributor

And use more correct utility to get the current file. It was failing in the browser version of the app because the way I got the relative path to the current file was incorrect.

And use more correct utility to get the current file. It was failing in
the browser version of the app because the way I got the relative path
to the current file was incorrect.
@franknoirot
franknoirot requested a review from a team as a code owner August 22, 2025 16:39
@vercel

vercel Bot commented Aug 22, 2025

Copy link
Copy Markdown

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 5:14pm

@nadr0 nadr0 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Paired with Frank on this. He tested in the web as well and it works

@franknoirot
franknoirot enabled auto-merge (squash) August 22, 2025 17:12
@franknoirot
franknoirot merged commit 5c1a417 into main Aug 22, 2025
56 checks passed
@franknoirot
franknoirot deleted the franknoirot/adhoc/fix-context-addition branch August 22, 2025 17:21
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