Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kalil0321
Copy link
Contributor

@kalil0321 kalil0321 commented Nov 1, 2025

Summary by cubic

Introduce CodeAgentHistoryList to standardize CodeAgent history with a clear, typed, eval-compatible API. Replaces ad-hoc mocks and exposes history directly on NotebookSession.

  • New Features

    • Added CodeAgentHistoryList with AgentHistoryList-compatible methods (final_result, is_done, errors, urls, screenshots, action_results, model_actions, save_to_file).
    • NotebookSession.history now returns CodeAgentHistoryList; session stores _complete_history and _usage_summary.
    • run() persists history and usage into the session for later access.
  • Refactors

    • Removed DictToObject/MockAgentHistoryList; service.history now returns CodeAgentHistoryList.
    • Centralized history logic in views.py and simplified service.py.

Written for commit 9fe82f0. Summary will update automatically on new commits.

@kalil0321 kalil0321 marked this pull request as ready for review November 1, 2025 22:52
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 2 files

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.

1 participant