Files
ra-h-os/tests/evals/scenarios/update-node.ts
T
“BeeRad”andClaude Opus 4.5 2f2ef10ec9 sync: bug fixes + eval system from private repo
- Fix chunk_status: pass chunk_status/chunk/metadata to context builder
- Fix vector search: scope by node_id BEFORE similarity search
- Add eval logging system (RAH_EVALS_LOG=1)
- Add eval dashboard at /evals
- Add vitest for testing

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 16:09:25 +11:00

16 lines
480 B
TypeScript

import { Scenario } from '../types';
export const scenario: Scenario = {
id: 'update-node',
name: 'Update node content',
description: 'Create and then update a node in one request.',
tools: ['createNode', 'updateNode'],
input: {
message: 'Create a node titled "Eval: Update Node" with one sentence, then append one more sentence to it.',
},
expect: {
toolsCalledSoft: ['createNode', 'updateNode'],
responseContainsSoft: ['updated', 'appended'],
},
};