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

feat: prompt versioning #172

Merged
merged 23 commits into from
Apr 2, 2025
Merged

feat: prompt versioning #172

merged 23 commits into from
Apr 2, 2025

Conversation

saihaj
Copy link
Owner

@saihaj saihaj commented Mar 27, 2025

Setup linear history versioning for prompts.

  • Run Migrations in prod.
  • After migrations, run migration script to move all prompts from BotConfig to new structure.
  • Update getPromptByKey
  • Update updatePromptByKey
  • Update get prompt helpers to use the registry helpers
  • LRU caching for registry helpers

Closes #165

CleanShot.2025-04-02.at.00.25.55.mp4

Copy link

vercel bot commented Mar 27, 2025

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

Name Status Preview Comments Updated (UTC)
dogeai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2025 7:24pm
management-doge-ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2025 7:24pm

@saihaj saihaj marked this pull request as ready for review April 1, 2025 19:26
@saihaj saihaj merged commit 120a4da into main Apr 2, 2025
8 checks passed
@saihaj saihaj deleted the saihaj/i165 branch April 2, 2025 17:41
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.

Versioning of prompts
1 participant