Skip to content

Allow shared examples on only one compare prompt - #22

Merged
MariaHov merged 1 commit into
mainfrom
fix/examples-opt-in-per-prompt
Sep 22, 2026
Merged

MariaHov merged 1 commit into
mainfrom
fix/examples-opt-in-per-prompt

Conversation

@MariaHov

Copy link
Copy Markdown
Collaborator

Summary

  • Make {{examples}} opt-in per template so Prompt B can use few-shot while Prompt A omits it
  • Stop failing compare runs when shared examples exist but one prompt has no {{examples}} slot
  • Cover A-without / B-with examples in compare tests

Test plan

  • Enable allowExamples with examples only in Prompt B
  • Confirm Prompt A preview/run has no examples and Prompt B includes them
  • Confirm compare completes without EXAMPLES_PLACEHOLDER_REQUIRED

Made with Cursor

Make {{examples}} opt-in per template so Prompt B can use few-shot while Prompt A omits it.

Co-authored-by: Cursor <cursoragent@cursor.com>
@MariaHov
MariaHov merged commit 3a93d14 into main Sep 22, 2026
@coderabbitai

coderabbitai Bot commented Sep 22, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 79c957e2-758e-4386-b731-117dcd468262


Comment @coderabbitai help to get the list of available commands.

@MariaHov
MariaHov deleted the fix/examples-opt-in-per-prompt branch September 22, 2026 10:23
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.

1 participant