Files
thejesh23 e97e40d66c Fix six starter/advanced_llm Python apps that crash or corrupt data
- ai_music_generator_agent + chat_arxiv_llama3: drop Agent(show_tool_calls=True);
  agno 2.x removed the parameter, so both crash with TypeError on startup
  (chat_arxiv_llama3 at import; sibling chat_arxiv.py already omits it).
- cursor_ai_experiments/multi_agent_researcher: Crew(verbose=2) -> verbose=True;
  current CrewAI's verbose is a strict pydantic bool, so 2 raises ValidationError
  and the crew never runs.
- toonify_token_optimization/{toonify_app,toonify_demo}: guard
  tiktoken.encoding_for_model with try/except KeyError -> cl100k_base; selecting a
  claude-3-* model (offered in the UI) otherwise crashes the token-count tab.
- ai_data_visualisation_agent: uploaded_file.seek(0) before uploading to the
  sandbox; pd.read_csv had already consumed the stream to EOF, so a 0-byte file
  was uploaded and every analysis read an empty dataset.
- ai_data_analysis_agent: remove the manual '"' -> '""' replacement; csv.QUOTE_ALL
  already escapes quotes, so the two together double-escaped every quoted cell.
  Verified round-trip: 'He said "hi"' now preserved (was 'He said ""hi""').

All seven files compile-check clean.
2026-07-31 23:07:10 -07:00
..
2025-06-01 14:25:51 -05:00
2025-04-17 16:01:23 -05:00