Publish the Promptkit engine facade
This commit is contained in:
@@ -9,8 +9,8 @@ artifact, rendering, and validation behavior, while the
|
||||
[model-client document](llm.md) owns generation behavior and failure
|
||||
categories.
|
||||
|
||||
The runner remains under `internal/usecase`. The root package does not yet
|
||||
assemble it into a usable public engine.
|
||||
The runner remains under `internal/usecase` and is assembled by the root
|
||||
Promptkit engine. Its concrete type is not part of the public API.
|
||||
|
||||
## Collaborators
|
||||
|
||||
@@ -65,8 +65,8 @@ input hashes, token usage, a generated run identifier, and UTC timing.
|
||||
|
||||
Package errors distinguish invalid requests, required profile selection,
|
||||
credential failures, and prompt, profile, artifact, rendering, generation, and
|
||||
validation failures. Wrapping preserves the package identities needed by the
|
||||
future facade and retains collaborator identities where they are part of the
|
||||
validation failures. Wrapping preserves the package identities mapped by the
|
||||
public facade and retains collaborator identities where they are part of the
|
||||
internal contract. Context cancellation propagates through the invoked
|
||||
collaborator and is classified by the owning operation.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user