Prevents LLM-fabricated tool results from being appended to conversation history. Adds _sanitize_tool_results() and applies it to both _generate_section_react() and chat() code paths. System prompt is hardened with an explicit warning against fabricating <tool_result> content. Closes #529 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| graph_builder.py | ||
| oasis_profile_generator.py | ||
| ontology_generator.py | ||
| report_agent.py | ||
| simulation_config_generator.py | ||
| simulation_ipc.py | ||
| simulation_manager.py | ||
| simulation_runner.py | ||
| text_processor.py | ||
| zep_entity_reader.py | ||
| zep_graph_memory_updater.py | ||
| zep_tools.py | ||