[PR #518] [MERGED] Stream ToolCall and ToolCallResult event in agent tool utils #558

Closed
opened 2026-02-15 20:15:18 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/run-llama/create-llama/pull/518
Author: @leehuwuj
Created: 3/26/2025
Status: Merged
Merged: 3/26/2025
Merged by: @marcusschiesser

Base: mainHead: lee/support-chat-sources


📝 Commits (1)

  • f1408b6 stream ToolCallResult event in agent tool utils

📊 Changes

1 file changed (+69 additions, -46 deletions)

View changed files

📝 llama-index-server/llama_index/server/utils/agent_tool.py (+69 -46)

📄 Description

  • To remain consistent with AgentWorkflow.

Summary by CodeRabbit

  • New Features

    • Introduced a standardized response format for tool interactions that delivers consistent outputs and error details.
  • Improvements

    • Enhanced the tool integration process with refined error handling and improved event tracking to offer better feedback during operations.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/run-llama/create-llama/pull/518 **Author:** [@leehuwuj](https://github.com/leehuwuj) **Created:** 3/26/2025 **Status:** ✅ Merged **Merged:** 3/26/2025 **Merged by:** [@marcusschiesser](https://github.com/marcusschiesser) **Base:** `main` ← **Head:** `lee/support-chat-sources` --- ### 📝 Commits (1) - [`f1408b6`](https://github.com/run-llama/create-llama/commit/f1408b6f9f5a7a99246b89763045f352128cdf50) stream ToolCallResult event in agent tool utils ### 📊 Changes **1 file changed** (+69 additions, -46 deletions) <details> <summary>View changed files</summary> 📝 `llama-index-server/llama_index/server/utils/agent_tool.py` (+69 -46) </details> ### 📄 Description + To remain consistent with AgentWorkflow. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced a standardized response format for tool interactions that delivers consistent outputs and error details. - **Improvements** - Enhanced the tool integration process with refined error handling and improved event tracking to offer better feedback during operations. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 20:15:18 -05:00
yindo closed this issue 2026-02-15 20:15:19 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/create-llama#558