Skip to content

👟 feat: Enable Eager Execution of Tool Calls#13192

Merged
danny-avila merged 2 commits into
devfrom
feat/enable-eager-execution
May 19, 2026
Merged

👟 feat: Enable Eager Execution of Tool Calls#13192
danny-avila merged 2 commits into
devfrom
feat/enable-eager-execution

Conversation

@danny-avila

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings May 19, 2026 13:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the agent run configuration to opt into eager execution of tool calls by default, and bumps @librechat/agents to a version that supports the new RunConfig option.

Changes:

  • Enable eagerEventToolExecution in createRun() when constructing the Run.create() config.
  • Bump @librechat/agents from ^3.1.88 to ^3.1.89 across backend packages and lockfile.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated 1 comment.

File Description
packages/api/src/agents/run.ts Enables eager event-based tool execution in the run configuration passed to the agents SDK.
packages/api/package.json Bumps @librechat/agents peer dependency to ^3.1.89.
api/package.json Bumps @librechat/agents dependency to ^3.1.89.
package-lock.json Updates lockfile entries to resolve @librechat/agents@3.1.89.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 989 to 996
customHandlers,
indexTokenCountMap,
initialSessions,
calibrationRatio,
indexTokenCountMap,
eagerEventToolExecution: { enabled: true },
...(enableToolOutputReferences && {
toolOutputReferences: { enabled: true },
}),
@github-actions

Copy link
Copy Markdown
Contributor

GitNexus: 🚀 deployed

The LibreChat-pr-13192 index is now live on the MCP server.
Deploy run

@danny-avila danny-avila merged commit 9107000 into dev May 19, 2026
17 checks passed
@danny-avila danny-avila deleted the feat/enable-eager-execution branch May 19, 2026 13:43
patricia2510 pushed a commit to lexaeon-org/libre-chat that referenced this pull request May 21, 2026
* 📦 chore: Bump `@librechat/agents` to v3.1.89

* feat: enable eagerEventToolExecution in createRun function
fuuuzzy pushed a commit to fuuuzzy/LibreChat that referenced this pull request May 22, 2026
* 📦 chore: Bump `@librechat/agents` to v3.1.89

* feat: enable eagerEventToolExecution in createRun function
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