Remove prompt version selectors
This commit is contained in:
12
listing.go
12
listing.go
@@ -5,9 +5,9 @@ import (
|
||||
"fmt"
|
||||
)
|
||||
|
||||
// PromptIdentity identifies one prompt ID and exact version in the effective
|
||||
// configuration captured when an Engine is constructed. It has no stable JSON
|
||||
// representation.
|
||||
// PromptIdentity identifies one prompt ID and its optional descriptive version
|
||||
// label in the effective configuration captured when an Engine is constructed.
|
||||
// It has no stable JSON representation.
|
||||
type PromptIdentity struct {
|
||||
ID string
|
||||
Version string
|
||||
@@ -36,9 +36,9 @@ func (e *Engine) ListProfiles(ctx context.Context) ([]string, error) {
|
||||
return profiles, nil
|
||||
}
|
||||
|
||||
// ListPrompts returns every prompt ID and exact version in the effective
|
||||
// configuration captured when the engine was constructed, sorted lexically by
|
||||
// ID and then version. Versions are not interpreted or prioritized. The
|
||||
// ListPrompts returns every prompt ID in the effective configuration captured
|
||||
// when the engine was constructed, sorted lexically by ID. Each identity may
|
||||
// include its descriptive version label. The
|
||||
// returned slice is caller-owned and safe to mutate while the engine is used
|
||||
// concurrently. Empty inventories succeed.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user