Documentation métier
Fiche BR-STO-06
Quand une conversation est effacée, alors son stockage et le cache de jetons du processus qui reçoit la demande sont vidés.
Défini dans Stocker les conversations et protéger les traces
Où vit la règle 3
Tests directs 1
Le test, ou une fonction d'aide de son fichier, appelle le code de la règle.
Tests indirects 110
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 98 de plus
Utilisé par 1
Lu dans le graphe du code que construit graphify, aux emplacements que donne la documentation métier.