Skip to content

Commit 989bee0

Browse files
authored
Merge pull request #1879 from gooddata/rr/LX-3248-flag-hint
fix(gooddata-eval): name the builder skill flag the backend defines
2 parents 85ce16a + 057c263 commit 989bee0

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/gooddata-eval/src/gooddata_eval/core/agentic/document_skill.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,7 @@ def _run_detail(run: DocumentRunResult) -> dict[str, Any]:
10171017
elif not best.evaluation.skill_activated:
10181018
skill_note = (
10191019
f" set_skills never activated {_BUILDER_SKILL}: either the copilot routed elsewhere, or the skill"
1020-
" is not registered. It registers only with enableGenAiDocumentBuilderSkill and the org's"
1020+
" is not registered. It registers only with enableGenAiReportBuilderSkill and the org's"
10211021
" enableBusinessBriefingReportsApp both on."
10221022
)
10231023
exc = DocumentSkillAssertionError(

‎packages/gooddata-eval/tests/test_agentic_document_skill.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -523,7 +523,7 @@ def test_a_failing_item_on_the_report_names_points_at_the_rename_not_the_flags(
523523
evaluate_agentic_document_skill("https://h", "tok", "ws", "Create a document", {}, max_iterations=1)
524524

525525
assert "gen-ai still sends the Report names" in str(raised.value)
526-
assert "enableGenAiDocumentBuilderSkill" not in str(raised.value)
526+
assert "enableGenAiReportBuilderSkill" not in str(raised.value)
527527

528528

529529
def test_a_user_context_with_view_report_fails_before_any_request(monkeypatch: pytest.MonkeyPatch) -> None:
@@ -669,7 +669,7 @@ def test_a_failing_item_without_document_builder_points_at_the_flags(monkeypatch
669669
_install_client(monkeypatch, _ScriptedChatClient([turn]))
670670
with pytest.raises(
671671
DocumentSkillAssertionError,
672-
match="enableGenAiDocumentBuilderSkill and the org.s enableBusinessBriefingReportsApp",
672+
match="enableGenAiReportBuilderSkill and the org.s enableBusinessBriefingReportsApp",
673673
):
674674
evaluate_agentic_document_skill("https://h", "tok", "ws", "Create a document", {}, max_iterations=1)
675675

0 commit comments

Comments
 (0)