jarvischer
0f778f7768
fix: prevent tool name duplication in streaming accumulator (MiniMax/NVIDIA NIM)
...
Based on #11984 by @maxchernin. Fixes #8259 .
Some providers (MiniMax M2.7 via NVIDIA NIM) resend the full function
name in every streaming chunk instead of only the first. The old
accumulator used += which concatenated them into 'read_fileread_file'.
Changed to simple assignment (=), matching the OpenAI Node SDK, LiteLLM,
and Vercel AI SDK patterns. Function names are atomic identifiers
delivered complete — no provider splits them across chunks, so
concatenation was never correct semantics.
2026-04-18 12:50:32 -07:00
..
2026-04-17 13:29:26 -07:00
2026-04-18 12:40:56 -07:00
2026-04-17 21:35:30 -07:00
2026-04-17 06:26:43 -07:00
2026-04-11 13:59:52 -07:00
2026-04-07 17:28:37 -07:00
2026-03-14 14:27:20 +03:00
2026-04-18 04:17:18 -07:00
2026-04-18 01:46:25 -07:00
2026-04-16 09:50:10 -07:00
2026-04-16 16:50:15 -07:00
2026-04-17 14:21:22 -07:00
2026-04-18 12:50:32 -07:00
2026-04-16 04:22:16 -07:00
2026-04-18 01:46:25 -07:00
2026-04-18 09:30:48 -07:00
2025-10-01 23:29:25 +00:00
2026-04-17 16:05:04 -07:00
2026-03-17 02:53:33 -07:00
2026-03-13 23:59:12 -07:00
2026-04-10 13:06:02 -07:00
2026-04-07 17:59:42 -07:00
2026-04-13 10:50:24 -07:00
2026-04-12 03:53:30 -07:00
2026-03-15 21:59:53 -07:00
2026-04-12 16:36:11 -07:00
2026-04-13 10:50:24 -07:00
2026-04-18 01:57:57 -07:00
2026-04-02 15:33:51 -07:00
2026-04-11 23:12:11 -07:00
2026-03-29 15:47:19 -07:00
2026-04-17 20:25:42 -07:00
2026-03-24 08:19:23 -07:00
2026-04-07 17:59:42 -07:00
2026-03-20 15:41:06 -04:00
2026-04-13 22:01:49 -07:00
2026-04-07 22:23:28 -07:00
2026-03-30 17:34:43 -07:00
2026-04-17 00:20:40 -07:00
2026-04-17 13:31:53 -07:00
2026-04-08 00:41:36 -07:00
2026-03-19 15:16:35 +01:00
2026-04-10 13:37:45 -07:00
2026-04-17 14:21:22 -07:00
2026-02-26 13:54:20 +03:00
2026-04-14 17:19:20 -07:00
2026-04-17 20:25:42 -07:00
2026-04-17 20:25:42 -07:00
2026-04-18 04:17:18 -07:00
2026-03-30 13:28:10 +09:00