-
Notifications
You must be signed in to change notification settings - Fork 3.8k
docs: fix formatting of autocomplete template variables #8914
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Remove extra spaces in Mustache variable syntax for consistency. The documentation already listed all the correct variables including the 'language' parameter added in PR #1853. Co-authored-by: nate <nate@continue.dev>
Summary of Documentation ReviewI reviewed PR #1853 which added the Current State✅ Main documentation is already up-to-date: ✅ Legacy JSON reference is accurate: Minor Fix Applied🔧 Fixed formatting inconsistency in the JSON reference doc by removing extra spaces in Mustache variable syntax ( ConclusionThe documentation for the |
|
Reviewed for AGENTS.md updates. This PR contains only documentation formatting changes (Mustache template syntax) with no impact on build steps, scripts, dependencies, or workflows. No updates to AGENTS.md are needed. |
|
No additional test coverage needed - this is a documentation-only change that fixes Mustache variable formatting. Documentation changes are validated through human review rather than automated tests. |
There was a problem hiding this 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
|
✅ PR is ready for review once CI checks complete. This is a documentation-only change that fixes formatting consistency in Mustache variable syntax. No functional changes, no code changes - just removing extra spaces for consistency with Handlebars best practices. The review from the automated tool found no issues. |
Documentation UpdatesI've added a commit to fix the remaining Mustache template variable formatting issues across the documentation: Files Updated:
Changes Made:
All documentation now follows Handlebars/Mustache best practices with no spaces inside the triple braces. |
The test failure in TUIChat.slashCommands.test.tsx appears to be a flaky test unrelated to this documentation-only change. This empty commit triggers a CI re-run to verify. Co-authored-by: nate <nate@continue.dev>
CI Failure AnalysisThe CI failure is not related to this documentation change. Investigation shows: Failed TestError: Test expected UI to contain Evidence This Is Pre-Existing
Action Taken
If the test continues to fail, this indicates a flaky test that needs to be fixed separately from this documentation PR. |
Description
This PR fixes the formatting of Mustache variable syntax in the autocomplete template documentation for consistency. The variables were documented correctly (including the
languageparameter added in PR #1853), but had extra spaces in the Mustache syntax.Changes
docs/reference/json-reference.mdx: changed{{{ prefix }}}to{{{prefix}}}for consistency with Handlebars/Mustache best practicesContext
PR #1853 added the
languageparameter to autocomplete templates. Upon review, I found that:docs/customize/model-roles/autocomplete.mdxalready correctly documents all template variables includinglanguageChecklist
This agent session was co-authored by nate and Continue.
Summary by cubic
Fixed Mustache variable formatting in the autocomplete template reference by removing spaces inside variables (e.g., {{{ prefix }}} -> {{{prefix}}}). Aligns the legacy JSON reference with the newer autocomplete docs, including the language variable.
Written for commit 0bf2fc0. Summary will update automatically on new commits.