Skip to content

Conversation

@Julie3399
Copy link
Collaborator

  • Add llm_log_to_html.py for converting agent logs to interactive HTML
  • Add PromptLogger utility for automatic prompt logging
  • Include comprehensive usage guide and examples
  • Add run_tbench_task_example.py showing real-world integration

This feature enables better visualization and analysis of agent-LLM interactions, making it easier to debug and understand agent behavior in any CAMEL application.

Features:

  • Interactive HTML viewer with collapsible sections
  • Search functionality for quick navigation
  • Color-coded message roles for clarity
  • Statistics dashboard
  • Zero external dependencies (uses Python stdlib only)

Examples provided:

  • Basic usage examples (example_usage.py)
  • Real-world Terminal Bench integration (run_tbench_task_example.py)

🤖 Generated with Claude Code

Description

Describe your changes in detail (optional if the linked issue already contains a detailed description of the changes).

Checklist

Go over all the following points, and put an x in all the boxes that apply.

  • I have read the CONTRIBUTION guide (required)
  • I have linked this PR to an issue using the Development section on the right sidebar or by adding Fixes #issue-number in the PR description (required)
  • I have checked if any dependencies need to be added or updated in pyproject.toml and uv lock
  • I have updated the tests accordingly (required for a bug fix or a new feature)
  • I have updated the documentation if needed:
  • I have added examples if this is a new feature

If you are unsure about any of these, don't hesitate to ask. We are here to help!

- Add llm_log_to_html.py for converting agent logs to interactive HTML
- Add PromptLogger utility for automatic prompt logging
- Include comprehensive usage guide and examples
- Add run_tbench_task_example.py showing real-world integration

This feature enables better visualization and analysis of agent-LLM
interactions, making it easier to debug and understand agent behavior
in any CAMEL application.

Features:
- Interactive HTML viewer with collapsible sections
- Search functionality for quick navigation
- Color-coded message roles for clarity
- Statistics dashboard
- Zero external dependencies (uses Python stdlib only)

Examples provided:
- Basic usage examples (example_usage.py)
- Real-world Terminal Bench integration (run_tbench_task_example.py)

🤖 Generated with Claude Code
Co-Authored-By: Claude <[email protected]>
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Nov 27, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/html-log-viewer

Tip

📝 Customizable high-level summaries are now available in beta!

You can now customize how CodeRabbit generates the high-level summary in your pull requests — including its content, structure, tone, and formatting.

  • Provide your own instructions using the high_level_summary_instructions setting.
  • Format the summary however you like (bullet lists, tables, multi-section layouts, contributor stats, etc.).
  • Use high_level_summary_in_walkthrough to move the summary from the description to the walkthrough section.

Example instruction:

"Divide the high-level summary into five sections:

  1. 📝 Description — Summarize the main change in 50–60 words, explaining what was done.
  2. 📓 References — List relevant issues, discussions, documentation, or related PRs.
  3. 📦 Dependencies & Requirements — Mention any new/updated dependencies, environment variable changes, or configuration updates.
  4. 📊 Contributor Summary — Include a Markdown table showing contributions:
    | Contributor | Lines Added | Lines Removed | Files Changed |
  5. ✔️ Additional Notes — Add any extra reviewer context.
    Keep each section concise (under 200 words) and use bullet or numbered lists for clarity."

Note: This feature is currently in beta for Pro-tier users, and pricing will be announced later.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added the Review Required PR need to be reviewed label Nov 27, 2025
Add a real-world example of the HTML viewer output generated from
Terminal Bench agent logs. This sample demonstrates:
- Interactive collapsible sections
- Color-coded message roles
- Search functionality
- Statistics dashboard

This 636KB file shows the actual output users can expect when
converting their agent logs to HTML format.

🤖 Generated with Claude Code
Co-Authored-By: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Review Required PR need to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants