Skip to content

Conversation

@ashenfad
Copy link
Owner

@ashenfad ashenfad commented Dec 8, 2025

Note

Enhances event-log summarization and transcript framing, adds token-budget-aware DataFrame rendering across task inputs/outputs, and removes the max_tokens Agent option.

  • Agent & Loop:
    • Remove max_tokens from Agent/BaseAgent API and docs.
    • Pass on_event into maybe_summarize_event_log and emit SummaryEvent via callback.
    • Export SummaryEvent in agex/__init__.py.
  • Summarization:
    • Stronger system prompt coaching and transcript-based summarization input.
    • Use max_tokens=16384 for summaries; include low-detail threshold in SummaryEvent.
  • Rendering:
    • Add DataFrame utilities (is_dataframe, render_dataframe_with_budget) and token_budget support in ValueRenderer to optimize row limits by budget.
    • Apply budget-aware rendering in render_output_parts_full and task input rendering.
    • Ensure DataFrame HTML uses pandas default display settings; SummaryEvent renders markdown → HTML.
  • LLM Core:
    • Convert event lists to a single framed transcript string for summarization.
  • Docs:
    • Update Agent API and add detailed Event Log Summarization section.
  • Tests:
    • Add tests/agex/render/test_dataframe_rendering.py verifying full-row visibility and budget-respecting truncation.

Written by Cursor Bugbot for commit 07f7839. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the final PR Bugbot will review for you during this billing cycle

Your free Bugbot reviews will reset on January 1

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

@ashenfad ashenfad merged commit ea960a4 into main Dec 8, 2025
7 checks passed
@ashenfad ashenfad deleted the nxt branch December 8, 2025 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants