Skip to content

Conversation

@devin-ai-integration
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot commented Mar 27, 2025

Add tool call support and Unicode handling to trace processing functionality

This PR replicates the changes from PR #313, PR #315, and PR #318 to add enhanced tool call support and Unicode handling to the trace processing functionality.

Changes

  • Added ToolCall interface to trace_util.ts
  • Updated Trace interface to include tool_calls property
  • Added functions to extract and process tool calls from events
  • Added support for tool messages with array content
  • Added support for assistant messages with array content
  • Enhanced error handling with proper null checks
  • Updated UI components to display tool calls in the traces table
  • Updated conversation view to handle and display tool calls with improved formatting
  • Added tool_calls property to DspyTrace and CrewAITrace interfaces
  • Added Unicode escape sequence handling in render-span-attribute-value.tsx

Testing

  • Verified build compiles successfully with no TypeScript errors

Link to Devin run: https://app.devin.ai/sessions/03b563b751764bf5889b7c63d83da2e0
Requested by: [email protected]

@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add "(aside)" to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

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