Skip to content

The agent that grows with you

test(plugins): langfuse manifest test reads provides_hooks (renamed from hooks:, #108371)

teknium174f726c17675
diff --git a/tests/plugins/test_langfuse_plugin.py b/tests/plugins/test_langfuse_plugin.py
index 3887491d0a6..4e5d58cf837 100644
--- a/tests/plugins/test_langfuse_plugin.py
+++ b/tests/plugins/test_langfuse_plugin.py
@@ -27,8 +27,8 @@ class TestManifest:
data = yaml.safe_load((PLUGIN_DIR / "plugin.yaml").read_text())
assert data["name"] == "langfuse"
assert data["version"]
- # All eleven hooks the plugin implements.
- assert set(data["hooks"]) == {
+ # All eleven hooks the plugin implements, declared under the field discovery/validate read (#108371).
+ assert set(data["provides_hooks"]) == {
"pre_api_request", "post_api_request", "api_request_error",
"pre_llm_call", "post_llm_call",
"pre_tool_call", "post_tool_call",