oh-my-promptfoo 1.7.1 → 1.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,10 +13,10 @@ Existing workspace caches remain compatible with earlier releases.
13
13
 
14
14
  ## Install
15
15
 
16
- Requires Node 22.22+, Linux, macOS, or Windows, and Promptfoo 0.122.x. On Windows, workspace cache locks and process identity require the system Windows PowerShell executable.
16
+ Requires Node 22.22+, Linux, macOS, or Windows, and Promptfoo 0.122.x or 0.124.x. On Windows, workspace cache locks and process identity require the system Windows PowerShell executable.
17
17
 
18
18
  ```sh
19
- npm install --save-dev promptfoo@0.122.0 oh-my-promptfoo
19
+ npm install --save-dev promptfoo@0.124.0 oh-my-promptfoo
20
20
  # Add this only if you use Copilot, directly or as a workspace delegate:
21
21
  npm install --save-dev @github/copilot-sdk@1.0.6
22
22
  ```
@@ -46,8 +46,8 @@ tests:
46
46
  Set `OPENAI_MODEL` and `OPENAI_API_KEY` for the judge; `OPENAI_BASE_URL`
47
47
  optionally points to an OpenAI-compatible or Azure OpenAI v1 endpoint. One
48
48
  request grades all uniquely named components; names inherited from
49
- `Object.prototype` are rejected because Promptfoo 0.122 aggregates named
50
- scores into plain objects. Weights default to 1. The weighted mean must reach
49
+ `Object.prototype` are rejected because Promptfoo aggregates named scores into
50
+ plain objects. Weights default to 1. The weighted mean must reach
51
51
  `threshold` (default 0.7), and every component must pass: an explicit judge
52
52
  `pass` flag takes precedence over its score; otherwise the component score
53
53
  must reach the threshold. Missing, duplicate, malformed, or unknown grades
@@ -6677,7 +6677,7 @@ function resolvePeer(basePath, name) {
6677
6677
  );
6678
6678
  } catch {
6679
6679
  throw new Error(
6680
- `Install ${name}${name === "@github/copilot-sdk" ? "@1.0.6" : "@0.122.0"} in the evaluation project (${basePath})`
6680
+ `Install ${name}${name === "@github/copilot-sdk" ? "@1.0.6" : "@0.124.0"} in the evaluation project (${basePath})`
6681
6681
  );
6682
6682
  }
6683
6683
  }