Skip to content

Conversation

@AlanNggg
Copy link
Contributor

@AlanNggg AlanNggg commented Nov 17, 2025

Description

Fixed "t.registerHelper is not a function" error when using {{{ input }}} in custom prompts by correctly importing the Handlebars default export.

AI Code Review

  • Team members only: AI review runs automatically when PR is opened or marked ready for review
  • Team members can also trigger a review by commenting @continue-review

Checklist

  • I've read the contributing guide
  • The relevant docs, if any, have been updated or created
  • The relevant tests, if any, have been updated or created

Screen recording or screenshot

  1. Before the fix, custom prompts with {{{ input }}} failed with "t.registerHelper is not a function" error
image
  1. After the fix, the prompts render correctly with proper input substitution
image

Tests

All existing tests in gui/src/components/mainInput/TipTapEditor/utils/renderPromptv1.test.ts pass


Summary by cubic

Fixed Handlebars import to use the default export, resolving the “t.registerHelper is not a function” error and restoring correct rendering for custom prompts using {{{ input }}}.

Written for commit 8f00f53. Summary will update automatically on new commits.

@AlanNggg AlanNggg requested a review from a team as a code owner November 17, 2025 14:42
@AlanNggg AlanNggg requested review from RomneyDa and removed request for a team November 17, 2025 14:42
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Nov 17, 2025
@github-actions
Copy link

github-actions bot commented Nov 17, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

@AlanNggg
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Nov 19, 2025
@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Nov 19, 2025
@RomneyDa RomneyDa merged commit 80b3cbe into continuedev:main Nov 19, 2025
54 of 57 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Nov 19, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Nov 19, 2025
@sestinj
Copy link
Contributor

sestinj commented Nov 19, 2025

🎉 This PR is included in version 1.34.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Nov 19, 2025

🎉 This PR is included in version 1.30.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Nov 19, 2025

🎉 This PR is included in version 1.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Nov 20, 2025

🎉 This PR is included in version 1.6.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm This PR has been approved by a maintainer released size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants