Skip to content

Implement retrieval of latest prompt by name#6

Merged
azurecoder merged 5 commits intomainfrom
codex/implement-getlatestpromptbyname-method
Aug 25, 2025
Merged

Implement retrieval of latest prompt by name#6
azurecoder merged 5 commits intomainfrom
codex/implement-getlatestpromptbyname-method

Conversation

@azurecoder
Copy link
Member

Summary

  • add GetLatestPromptByName to fetch latest prompt with parameters and defaults

Testing

  • dotnet test (fails: command not found)

https://chatgpt.com/codex/tasks/task_e_68ac9e07ed68832c93fdab23be09e04a

Copilot AI review requested due to automatic review settings August 25, 2025 17:36
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR implements the GetLatestPromptByName method in the SqlPromptRepository class to retrieve the most recent version of a prompt along with its associated parameters and default values.

Key changes:

  • Replaced the NotImplementedException with a complete async implementation
  • Added database queries to fetch prompt data, parameters, and defaults
  • Implemented logic to populate the prompt's Parameters and Default dictionaries

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

azurecoder and others added 4 commits August 25, 2025 18:38
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@azurecoder azurecoder merged commit f5ef7da into main Aug 25, 2025
2 checks passed
@azurecoder azurecoder deleted the codex/implement-getlatestpromptbyname-method branch August 25, 2025 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants