Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/cli/tui/screens/evaluator/__tests__/types.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ describe('LEVEL_PLACEHOLDERS', () => {
expect(LEVEL_PLACEHOLDERS.TOOL_CALL).toContain('available_skills');
expect(LEVEL_PLACEHOLDERS.TOOL_CALL).toContain('invoked_skill');
expect(LEVEL_PLACEHOLDERS.TOOL_CALL).toContain('skill_content');
expect(LEVEL_PLACEHOLDERS.TOOL_CALL).toContain('user_message');
});
});

Expand Down
11 changes: 10 additions & 1 deletion src/cli/tui/screens/evaluator/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,15 @@ export function getEvaluatorModelOptions(provider: EvaluatorModelProvider): Eval
export const LEVEL_PLACEHOLDERS: Record<EvaluationLevel, string[]> = {
SESSION: ['context', 'available_tools'],
TRACE: ['context', 'assistant_turn'],
TOOL_CALL: ['available_tools', 'context', 'tool_turn', 'available_skills', 'invoked_skill', 'skill_content'],
TOOL_CALL: [
'available_tools',
'context',
'tool_turn',
'available_skills',
'invoked_skill',
'skill_content',
'user_message',
],
};

/**
Expand All @@ -221,6 +229,7 @@ export const PLACEHOLDER_DESCRIPTIONS: Record<string, string> = {
available_skills: 'skills offered to the agent (name + description)',
invoked_skill: 'the skill the agent selected for this span',
skill_content: "the selected skill's SKILL.md instructions",
user_message: 'the user request in the turn that triggered the skill invocation',
};

/**
Expand Down
Loading