Align run provenance with PromptKit

This commit is contained in:
2026-07-28 16:47:07 +00:00
parent 7c569a3d8c
commit 4bca6d3103
4 changed files with 50 additions and 10 deletions

View File

@@ -53,7 +53,7 @@ func TestRunManifestIncludesPipelineAndArtifactLaneFields(t *testing.T) {
PipelineID: "pipeline-1",
PipelineDigest: "sha256:abc123",
LLMProfiles: []LLMProfileManifest{
{ID: "default", Provider: "scriptorium", Model: "model-a"},
{ID: "default", Provider: "promptkit", Model: "model-a"},
},
ArtifactLanes: []ArtifactLaneManifest{
{
@@ -102,6 +102,9 @@ func TestRunManifestIncludesPipelineAndArtifactLaneFields(t *testing.T) {
t.Fatalf("llm_profiles[0] = %#v, want object", profiles[0])
}
assertHasKeys(t, profile, "id", "provider", "model")
if profile["provider"] != "promptkit" {
t.Fatalf("llm_profiles[0].provider = %#v, want promptkit", profile["provider"])
}
lanes, ok := got["artifact_lanes"].([]any)
if !ok {