Documentation métier
Fiche BR-AGT-04
Quand le réglage d'outil est « Complet » ou « Sortie seule », alors le texte renvoyé par l'outil passe par le repérage complet et est masqué avant le modèle.
Défini dans Brancher la protection sur un agent et ses outils
Où vit la règle 4
Tests directs 1
Le test, ou une fonction d'aide de son fichier, appelle le code de la règle.
Tests indirects 14
Le test construit sa classe ou appelle une autre fonction de son module, qui mène à la règle.
- tests/integrations/langchain/test_middleware_e2e.py::test_second_model_call_never_sees_clear_tool_args
- tests/integrations/langchain/test_middleware.py::TestFactoryContract::test_a_pipeline_without_a_recognizer_is_refused
- tests/integrations/langchain/test_middleware.py::TestFactoryContract::test_reads_the_recognizer_from_the_pipeline
- tests/integrations/test_pydantic_ai_hooks.py::TestAroundTheModel::test_model_sees_placeholders_and_reply_is_restored
- tests/integrations/test_pydantic_ai_hooks.py::TestAssistantStrategy::test_anonymize_treats_the_assistant_value_as_pii
- tests/integrations/test_pydantic_ai_hooks.py::TestAssistantStrategy::test_ignore_leaves_the_assistant_message_unanalyzed
- tests/integrations/test_pydantic_ai_hooks.py::TestAssistantStrategy::test_preserve_keeps_the_assistant_value_clear
- tests/integrations/test_pydantic_ai_hooks.py::TestBlockContent::test_sequence_user_content_is_anonymized
- tests/integrations/test_pydantic_ai_hooks.py::TestInventedStrategy::test_an_invented_token_in_the_reply_is_refused
- tests/integrations/test_pydantic_ai_hooks.py::TestMultiTurn::test_prior_turn_pii_is_not_leaked_to_the_model
- tests/integrations/test_pydantic_ai_hooks.py::TestStructuredToolResult::test_dict_tool_result_is_anonymized
- tests/integrations/test_pydantic_ai_hooks.py::TestThreadIdGetter::test_thread_id_is_resolved_from_the_run_context
et 2 de plus
Utilisé par 0
Aucun appelant trouvé.
Lu dans le graphe du code que construit graphify, aux emplacements que donne la documentation métier.