Skip to content
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

fix create experiment from ui created prompt #3349

Merged
merged 1 commit into from
Mar 1, 2025

Conversation

kavinvalli
Copy link
Collaborator

No description provided.

Copy link

vercel bot commented Mar 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
helicone ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 1, 2025 5:41am
helicone-bifrost ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 1, 2025 5:41am
helicone-eu ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 1, 2025 5:41am

Copy link
Contributor

promptless bot commented Mar 1, 2025

📝 Documentation updates detected! You can review documentation updates here

Copy link

fumedev bot commented Mar 1, 2025

Summary

  • Fixes the creation of experiment prompts from the UI by ensuring prompt input keys are created correctly.
  • Adds error handling for the prompt input keys creation process.
  • Updates regex in the findKeys helper function to correctly match and process input keys with optional escape characters.
  • Ensures that any backslashes in key strings are removed during processing.

@chitalian chitalian merged commit c9fdab6 into main Mar 1, 2025
7 of 9 checks passed
@chitalian chitalian deleted the new-prompt-ui-experiment-fix branch March 1, 2025 22:32
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