Remove prompt version selectors
This commit is contained in:
@@ -184,12 +184,12 @@ func TestInspectPromptHashMatchesPreparationForCapturedConfiguration(t *testing.
|
||||
engine := requirementsEngine(t, prompts, map[string]any{
|
||||
"profile": map[string]any{"endpoint": "https://example.test/v1", "model": "inspection-model"},
|
||||
})
|
||||
inspection, err := engine.InspectPrompt(context.Background(), "hash-equality", "v1")
|
||||
inspection, err := engine.InspectPrompt(context.Background(), "hash-equality")
|
||||
if err != nil {
|
||||
t.Fatalf("inspect captured prompt: %v", err)
|
||||
}
|
||||
prepared, err := engine.Prepare(context.Background(), promptkit.RunRequest{
|
||||
PromptID: "hash-equality", PromptVersion: "v1", Vars: map[string]string{"name": "Ada"},
|
||||
PromptID: "hash-equality", Vars: map[string]string{"name": "Ada"},
|
||||
})
|
||||
if err != nil {
|
||||
t.Fatalf("prepare captured prompt: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user