Skip to content

🧰 fix: Unprocessed Tool Calls Edge Case - #10440

Merged
danny-avila merged 9 commits into
devfrom
chore/update-langchain-deps
Nov 10, 2025
Merged

danny-avila merged 9 commits into
devfrom
chore/update-langchain-deps

Conversation

@danny-avila

Copy link
Copy Markdown
Collaborator

No description provided.

@danny-avila
danny-avila merged commit 06c060b into dev Nov 10, 2025
7 checks passed
@danny-avila
danny-avila deleted the chore/update-langchain-deps branch November 10, 2025 22:12
@danny-avila danny-avila linked an issue Nov 11, 2025 that may be closed by this pull request
1 task done
JustinBeaudry pushed a commit to Actual-Reality/LibreChat that referenced this pull request Nov 12, 2025
* chore: temp. remove @librechat/agents

* 🔧 chore: update @langchain/core to version 0.3.79

* chore: update dependencies for @langchain/core and add back latest @librechat/agents

* chore: update @librechat/agents to version 3.0.11

* fix: enhance error handling for uncaught exceptions due to abort errors

* fix: standardize warning message for uncatchable abort errors

* fix: improve tool call handling in ModelEndHandler for unprocessed edge case

* fix: prevent content type mismatch in message updates and preserve args in final updates

* chore: add debug logging for client disposal in disposeClient function
Guiraud pushed a commit to Guiraud/LibreChat that referenced this pull request Nov 21, 2025
* chore: temp. remove @librechat/agents

* 🔧 chore: update @langchain/core to version 0.3.79

* chore: update dependencies for @langchain/core and add back latest @librechat/agents

* chore: update @librechat/agents to version 3.0.11

* fix: enhance error handling for uncaught exceptions due to abort errors

* fix: standardize warning message for uncatchable abort errors

* fix: improve tool call handling in ModelEndHandler for unprocessed edge case

* fix: prevent content type mismatch in message updates and preserve args in final updates

* chore: add debug logging for client disposal in disposeClient function
NalinNair added a commit to NalinNair/LibreChat that referenced this pull request Feb 20, 2026
jcbartle pushed a commit to jcbartle/LibreChat that referenced this pull request May 11, 2026
* chore: temp. remove @librechat/agents

* 🔧 chore: update @langchain/core to version 0.3.79

* chore: update dependencies for @langchain/core and add back latest @librechat/agents

* chore: update @librechat/agents to version 3.0.11

* fix: enhance error handling for uncaught exceptions due to abort errors

* fix: standardize warning message for uncatchable abort errors

* fix: improve tool call handling in ModelEndHandler for unprocessed edge case

* fix: prevent content type mismatch in message updates and preserve args in final updates

* chore: add debug logging for client disposal in disposeClient function
ThomasVuNguyen pushed a commit to ThomasVuNguyen/LibreChat that referenced this pull request Jul 15, 2026
* chore: temp. remove @librechat/agents

* 🔧 chore: update @langchain/core to version 0.3.79

* chore: update dependencies for @langchain/core and add back latest @librechat/agents

* chore: update @librechat/agents to version 3.0.11

* fix: enhance error handling for uncaught exceptions due to abort errors

* fix: standardize warning message for uncatchable abort errors

* fix: improve tool call handling in ModelEndHandler for unprocessed edge case

* fix: prevent content type mismatch in message updates and preserve args in final updates

* chore: add debug logging for client disposal in disposeClient function
IccunOcram added a commit to Digital-Automations-srl/SimpleAI that referenced this pull request Jul 28, 2026
Merge di v0.8.7 (251 commit dopo v0.8.6). 9 conflitti risolti:

- callbacks.js: presa versione upstream, nostro dedup su run_id RIMOSSO.
  v0.8.7 riscrive ModelEndHandler (emitUsage, LibreChat-AI#13670/LibreChat-AI#13780) e usage.ts
  ora distingue piu' eventi con lo stesso runId per posizione (seq/
  beforeIndex): il dedup avrebbe cancellato eventi attesi dalla pipeline.
  @librechat/agents passa da ^3.2.1 a ^3.2.46 (lo strato che duplicava).
  → il 2x va RI-MISURATO su tenant di test prima di ri-patchare.
- callbacks.spec.js: rimosso il describe('ModelEndHandler') del fork.
- Share/Message.tsx, Share/MessagesView.tsx: presa versione upstream
  (rilavorate a monte; guadagniamo MessageTimestamp e fontSize utente).
  → i fix LibreChat-AI#10440 font/scroll vanno riverificati in UI.
- AccountSettings.tsx: tenuto il nostro Feedback, ELIMINATA la nostra
  voce Help & FAQ (upstream la implementa con la stessa helpAndFaqURL).
- Root.tsx: ChangelogModal + KeyboardShortcutsProvider.
- ChatView.tsx: rimosso import duplicato, tenuto useSemanticCopy.
- useFileHandling.ts: nostro reroute upload + lazy-load HEIC upstream.
- useFileHandling.test.ts: rimosso mockLocalize duplicato (upstream ha
  scritto lo stesso mock).
- package.json: v0.8.7-simpleai.1; lockfile rigenerato.

categories.spec.js allineato all'harness di upstream (jest.mock('~/models')
+ catena reale) al posto di 67 righe di mock manuali: ~/models/Agent,
~/models/Action e Files/S3/crud non esistono piu'.

Test: api agents 317 ok (16/16 suite) · client 2788 ok · data-provider
1251 ok · packages/api 6640 ok.
Rossi solo ambientali su file puri upstream: client tokens.spec (8, assume
locale en-US, macchina it-IT), packages/api 55 (cluster Redis 7001-7003 non
attivo + un test con path POSIX su Windows).

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
IccunOcram added a commit to Digital-Automations-srl/SimpleAI that referenced this pull request Oct 5, 2026
Merge di v0.8.8 (1250 commit dopo v0.8.7). 20 conflitti risolti:

- useFileHandling.ts, file-config.ts e relativi test: presa versione
  upstream, RIMOSSO il nostro reroute degli upload "provider". v0.8.8
  instrada lato server (resolveEffectiveToolResource, LibreChat-AI#15763) e filtra
  i documenti non supportati sul percorso Anthropic (LibreChat-AI#14535). Il reroute
  causava anche il bug della demo LEF (file_search,context non indicizzati).
- post-build.cjs eliminato upstream: copia di changelog.json spostata nel
  plugin copyPublicAssets di client/vite.config.ts.
- AccountSettings.tsx: upstream ha tolto "I miei file", resta il nostro
  Feedback.
- ShareView.tsx: versione upstream + flex-shrink-0 (fix LibreChat-AI#10440).
- Footer.tsx, index.html: branding Simple AI sulla nuova logica upstream.
- Root.tsx: ChangelogModal sulla nuova struttura dei provider.
- ChatView.tsx, routes/index.js, packages/api e data-provider index,
  data-service.ts: export e rotte del fork accanto a quelli nuovi.
- it/translation.json: merge a tre vie; rimosse le chiavi del reroute.
- CLAUDE.md tenuto (upstream lo sostituisce con AGENTS.md).
- package.json: v0.8.8-simpleai.1; lockfile rigenerato con marked.

v0.8.8 risolve anche il thinking vuoto di Sonnet 5 (omitsThinkingByDefault).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

[Bug]: Tool call fails after latest update (Bedrock)

1 participant