Documentation métier
Fiche BR-TOOL-11
Quand le modèle coupe ou reformule un jeton dans un argument, alors seul un jeton écrit en entier est restauré.
Défini dans Laisser un outil agir sur les vraies valeurs
Où vit la règle 5
Tests directs 3
Le test, ou une fonction d'aide de son fichier, appelle le code de la règle.
- tests/acceptance/test_dpo.py::TestErasure::test_a_forgotten_thread_restores_nothing
- tests/pipeline/test_override_integration.py::TestThreadPipelineOverride::test_allow_list_clears_a_fresh_thread_detection
- tests/pipeline/test_override_integration.py::TestThreadPipelineOverride::test_deny_listed_value_is_deanonymizable
Tests indirects 108
Le test construit sa classe ou appelle une autre fonction de son module, qui mène à la règle.
- tests/acceptance/test_dev.py::TestThreadIsolation::test_a_token_restores_in_its_own_thread_only
- tests/acceptance/test_ops.py::TestSharedMemory::test_two_instances_agree_on_a_thread
- tests/integrations/langchain/test_middleware_e2e.py::test_second_model_call_never_sees_clear_tool_args
- tests/integrations/langchain/test_middleware_stream.py::test_middleware_deanonymize_stream_restores_split_token
- tests/integrations/langchain/test_middleware.py::TestAssistantProvenance::test_anonymize_treats_assistant_value_as_pii
- tests/integrations/langchain/test_middleware.py::TestAssistantProvenance::test_ignore_does_not_analyze_assistant_messages
- tests/integrations/langchain/test_middleware.py::TestAssistantProvenance::test_preserve_keeps_assistant_value_clear
- tests/integrations/langchain/test_middleware.py::TestInventedPlaceholders::test_invented_tool_argument_is_refused
- tests/integrations/langchain/test_middleware.py::TestInventedPlaceholders::test_kept_or_dropped
- tests/integrations/langchain/test_middleware.py::TestInventedPlaceholders::test_only_issued_tokens_pass_under_raise
- tests/integrations/langchain/test_middleware.py::TestInventedPlaceholders::test_raise_refuses_an_invented_token
- tests/integrations/langchain/test_middleware.py::TestToolCalls::test_a_command_without_a_message_is_left_alone
et 96 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.