Remove prompt version selectors
This commit is contained in:
@@ -12,9 +12,6 @@ import (
|
||||
type RequirementInspectionRequest struct {
|
||||
// PromptID is the exact, case-sensitive configured prompt ID.
|
||||
PromptID string
|
||||
// PromptVersion selects an exact version. An empty value uses the prompt
|
||||
// selection rule that requires exactly one configured version.
|
||||
PromptVersion string
|
||||
// ProfileID selects the exact effective profile identity. If empty, the
|
||||
// prompt's default profile is used; the profile need not be ready for
|
||||
// execution.
|
||||
@@ -131,7 +128,7 @@ type RequirementIssue struct {
|
||||
type RequirementInspection struct {
|
||||
// PromptID is the selected exact prompt ID.
|
||||
PromptID string
|
||||
// PromptVersion is the selected exact prompt version.
|
||||
// PromptVersion is the selected definition's descriptive version label.
|
||||
PromptVersion string
|
||||
// ProfileID is the selected profile identity; it does not indicate
|
||||
// execution readiness.
|
||||
@@ -189,7 +186,7 @@ func (e *Engine) InspectRequirements(
|
||||
return nil, ErrInvalidConfig
|
||||
}
|
||||
inspection, err := e.internal.InspectRequirements(ctx, usecase.RequirementInspectionRequest{
|
||||
PromptID: req.PromptID, PromptVersion: req.PromptVersion, ProfileID: req.ProfileID,
|
||||
PromptID: req.PromptID, ProfileID: req.ProfileID,
|
||||
Vars: copyStringMap(req.Vars), SessionID: req.SessionID,
|
||||
})
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user