[PR #5381] [MERGED] Enable final tool call in MAX_STACK to run #5425

Closed
opened 2026-06-05 15:21:19 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/5381
Author: @timothycarambat
Created: 4/7/2026
Status: Merged
Merged: 4/7/2026
Merged by: @timothycarambat

Base: masterHead: 5376-orphaned-tc-cleanup


📝 Commits (1)

  • c030944 Enable final tool call in MAX_STACK to run

📊 Changes

1 file changed (+18 additions, -38 deletions)

View changed files

📝 server/utils/agents/aibitat/index.js (+18 -38)

📄 Description

Pull Request Type

  • feat (New feature)
  • 🐛 fix (Bug fix)
  • ♻️ refactor (Code refactoring without changing behavior)
  • 💄 style (UI style changes)
  • 🔨 chore (Build, CI, maintenance)
  • 📝 docs (Documentation updates)

Relevant Issues

resolves #5376

Description

  • Allow final tool call in since chat reply to run so we can get response before aborting since it was already generated.
  • Works for all providers. No defaults changed.

Visuals (if applicable)

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated (if applicable)
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 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/Mintplex-Labs/anything-llm/pull/5381 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 4/7/2026 **Status:** ✅ Merged **Merged:** 4/7/2026 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `5376-orphaned-tc-cleanup` --- ### 📝 Commits (1) - [`c030944`](https://github.com/Mintplex-Labs/anything-llm/commit/c0309441958e796c4f209d3602a945ed31232f56) Enable final tool call in MAX_STACK to run ### 📊 Changes **1 file changed** (+18 additions, -38 deletions) <details> <summary>View changed files</summary> 📝 `server/utils/agents/aibitat/index.js` (+18 -38) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat (New feature) - [x] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [x] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #5376 ### Description - Allow final tool call in since chat reply to run so we can get response before aborting since it was already generated. - Works for all providers. No defaults changed. <!-- Describe the changes in this PR that are impactful to the repo. What problem does it solve? --> ### Visuals (if applicable) <!-- Add screenshots or screen recordings to demonstrate the changes, especially for UI updates. --> ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [ ] I ran `yarn lint` from the root of the repo & committed changes - [ ] Relevant documentation has been updated (if applicable) - [ ] I have tested my code functionality - [ ] Docker build succeeds locally --- <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-06-05 15:21:19 -04:00
yindo closed this issue 2026-06-05 15:21:19 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#5425