Update PromptKit to version 0.9.0
This commit is contained in:
@@ -209,7 +209,7 @@ definitions.
|
||||
Promptkit resolves a selected profile definition from a test or embedding
|
||||
consumer's explicit in-memory profile, then the configured `profile_file` or
|
||||
`profile_dir`, then Weatherreporter's embedded catalog, and finally Promptkit's
|
||||
built-in catalog. Weatherreporter's embedded `weather-*` definitions are small
|
||||
maintained catalog. Weatherreporter's embedded `weather-*` definitions are small
|
||||
aliases of Promptkit's maintained base profiles, so Promptkit also resolves
|
||||
their inherited target and settings. A configured definition with the same ID
|
||||
as either a selected profile or an inherited base takes precedence. A matching
|
||||
|
||||
@@ -16,9 +16,12 @@ effective execution settings resolve from Promptkit's maintained catalog:
|
||||
|
||||
The `~` prefix is part of each OpenRouter rolling-alias model ID. The embedded
|
||||
profiles intentionally omit endpoints, credentials, and execution settings;
|
||||
Promptkit owns inherited resolution and its provider-native defaults.
|
||||
Promptkit's built-in `rakestrawhome-gemma-4-31b` is also available for ordinary
|
||||
and comparison selection and reports the `rakestrawhome` backend without
|
||||
Promptkit owns inherited resolution and its provider-native defaults. Promptkit
|
||||
assembles its maintained catalog from independently versioned OpenRouter and
|
||||
Rakestrawhome modules selected by the Promptkit release. Weatherreporter does
|
||||
not import or register those catalog modules directly. The maintained
|
||||
`rakestrawhome-gemma-4-31b` profile is also available for ordinary and
|
||||
comparison selection and reports the `rakestrawhome` backend without
|
||||
Weatherreporter-specific configuration.
|
||||
|
||||
## Selection And Active Execution
|
||||
@@ -28,7 +31,7 @@ Before weather collection, Weatherreporter validates the report's exact generate
|
||||
1. explicit in-memory profiles used by an embedding consumer or test;
|
||||
2. the configured `profile_file` or `profile_dir`;
|
||||
3. Weatherreporter's embedded fallback profiles; and
|
||||
4. Promptkit's built-in catalog.
|
||||
4. Promptkit's maintained catalog.
|
||||
|
||||
A source falls through only when the selected ID is absent. Promptkit resolves a
|
||||
derived profile's base with the same source precedence, so a configured base
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
`internal/adapters/promptkit` maps Weatherreporter's project-owned executor contract to Promptkit. The CLI maps `promptkit` configuration to a `PromptExecutorConfig` and constructs one executor per action. Promptkit dependency types do not escape the adapter.
|
||||
|
||||
The adapter supplies Weatherreporter's embedded prompt, schema, and fallback profile filesystems to each engine. Promptkit resolves configured operator profile sources, embedded profile aliases and their bases, and its built-in catalog; the adapter does not parse profile YAML, resolve inheritance, merge sources, inspect optional environment credentials, or probe endpoints.
|
||||
The adapter supplies Weatherreporter's embedded prompt, schema, and fallback profile filesystems to each engine. Promptkit resolves configured operator profile sources, embedded profile aliases and their bases, and its maintained catalog. Promptkit privately assembles that catalog from the independently versioned OpenRouter and Rakestrawhome catalog modules selected by its release; Weatherreporter neither imports nor registers them. The adapter does not parse profile YAML, resolve inheritance, merge sources, inspect optional environment credentials, or probe endpoints.
|
||||
|
||||
The adapter exposes exact prompt and profile validation plus prepared execution. It maps safe prompt identity, logical profile, effective backend/model, preparation, execution, validation, and optional debug values into `promptexec`. An empty backend identity remains valid for an endpoint-only profile; a nonblank model is required. PromptKit's configured repair-call budget and the completed result's actual corrective-call count are retained, along with its cumulative provider usage and final candidate. Structured provider generation failures become project-owned redacted generation errors that retain only bounded details through explicit accessors. `Execute` passes the YAML package as an inline Promptkit input; it does not construct a filesystem URI or write a package file.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user