Skip to content

Conversation

@ulivz
Copy link
Member

@ulivz ulivz commented Sep 13, 2025

Summary

Fixed the broken browser_get_markdown tool rendering by creating a reusable architecture that separates UI logic from content-specific logic.

Problem: The browser_get_markdown tool renderer was broken and needed to reuse the LinkReaderRenderer functionality.

Solution:

  • Created generic MarkdownContentRenderer for reusable markdown content display
  • Added BrowserGetMarkdownRenderer for browser_get_markdown tool output
  • Refactored LinkReaderRenderer to use the generic renderer
  • Added proper tool mapping configuration

Architecture improvements:

  • Separated UI rendering logic from content parsing logic
  • Created reusable components that follow single responsibility principle
  • Maintained consistent styling and functionality across different tool renderers

Checklist

  • Added or updated necessary tests (Optional).
  • Updated documentation to align with changes (Optional).
  • Verified no breaking changes, or prepared solutions for any occurring breaking changes (Optional).
  • My change does not involve the above items.

@netlify
Copy link

netlify bot commented Sep 13, 2025

Deploy Preview for agent-tars-docs ready!

Name Link
🔨 Latest commit 1882414
🔍 Latest deploy log https://app.netlify.com/projects/agent-tars-docs/deploys/68cec0935461f200088c5d5b
😎 Deploy Preview https://deploy-preview-1506--agent-tars-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ulivz ulivz changed the title refactor(tarko-agent-ui): abstract markdown rendering for browser_get_markdown tool refactor(tarko-agent-ui): refine rendering for browser_get_markdown tool Sep 13, 2025
…_markdown tool

- Create generic MarkdownContentRenderer for reusable markdown content display
- Add BrowserGetMarkdownRenderer for browser_get_markdown tool output
- Refactor LinkReaderRenderer to use MarkdownContentRenderer
- Add browser_get_markdown tool mapping to renderer configuration
- Separate UI logic from content-specific logic for better architecture
@ulivz ulivz force-pushed the fix/browser-get-markdown-renderer branch from e395593 to 1882414 Compare September 20, 2025 14:56
@netlify
Copy link

netlify bot commented Sep 20, 2025

Deploy Preview for tarko ready!

Name Link
🔨 Latest commit 1882414
🔍 Latest deploy log https://app.netlify.com/projects/tarko/deploys/68cec093aa909e00082f24a6
😎 Deploy Preview https://deploy-preview-1506--tarko.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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