Skip to content

Commit d031576

Browse files
ci(changesets): version packages (#1109)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent c1df46f commit d031576

5 files changed

Lines changed: 42 additions & 42 deletions

File tree

.changeset/soft-dots-bow.md

Lines changed: 0 additions & 39 deletions
This file was deleted.

examples/with-offline-evals/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"dependencies": {
55
"@voltagent/cli": "^0.1.21",
66
"@voltagent/core": "^2.6.1",
7-
"@voltagent/evals": "^2.0.3",
7+
"@voltagent/evals": "^2.0.4",
88
"@voltagent/scorers": "^2.1.0",
99
"@voltagent/sdk": "^2.0.2",
1010
"ai": "^6.0.0",

packages/evals/CHANGELOG.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,44 @@
11
# @voltagent/evals
22

3+
## 2.0.4
4+
5+
### Patch Changes
6+
7+
- [#1108](https://github.com/VoltAgent/voltagent/pull/1108) [`c1df46f`](https://github.com/VoltAgent/voltagent/commit/c1df46fe3a2f478615310c51e649309647b0370c) Thanks [@omeraplak](https://github.com/omeraplak)! - fix: persist offline eval runs when using inline datasets (`dataset.items`)
8+
9+
Offline experiment runs now create and sync run results even when the dataset is provided inline without a managed `datasetVersionId`.
10+
11+
### What changed
12+
- `VoltOpsRunManager` now allows run creation when `dataset.versionId` is missing.
13+
- Append payload generation now normalizes `datasetItemId`:
14+
- UUID item IDs are sent as `datasetItemId`.
15+
- Non-UUID item IDs are sent as `null` and still tracked via `datasetItemHash`.
16+
17+
This avoids API failures when inline dataset items use string IDs like `"item-1"`.
18+
19+
### Example
20+
21+
```ts
22+
import { createExperiment, runExperiment } from "@voltagent/evals";
23+
24+
const experiment = createExperiment({
25+
dataset: {
26+
name: "inline-smoke",
27+
items: [
28+
{
29+
id: "item-1", // non-UUID is supported
30+
input: "What is VoltAgent?",
31+
expected: "An open-source TypeScript framework for AI agents.",
32+
},
33+
],
34+
},
35+
runner: async ({ item }) => ({ output: String(item.input) }),
36+
});
37+
38+
const result = await runExperiment(experiment, { voltOpsClient });
39+
console.log(result.runId); // now created and persisted
40+
```
41+
342
## 2.0.3
443

544
### Patch Changes

packages/evals/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@voltagent/evals",
33
"description": "VoltAgent evaluation orchestrator utilities",
4-
"version": "2.0.3",
4+
"version": "2.0.4",
55
"author": "VoltAgent",
66
"dependencies": {
77
"@voltagent/internal": "^1.0.2",

pnpm-lock.yaml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)