feat: enhance data analysis agent's capabilities by updating core logic and prompts.

This commit is contained in:
2026-01-06 14:09:12 +08:00
parent 7f46f25a4b
commit 1f2d0b85af
2 changed files with 4 additions and 0 deletions

View File

@@ -272,6 +272,8 @@ class DataAnalysisAgent:
formatted_system_prompt = data_analysis_system_prompt.format(
notebook_variables=notebook_variables
)
print(f"🐛 [DEBUG] System Prompt Head:\n{formatted_system_prompt[:500]}...\n[...]")
print(f"🐛 [DEBUG] System Prompt Rules Check: 'stop_words' in prompt? {'stop_words' in formatted_system_prompt}")
response = self.llm.call(
prompt=self._build_conversation_prompt(),