Refactor ChunkToolCall handling in Anthropic provider

- Clean up the code for sending the initial ChunkToolCall, improving readability and maintaining alignment with OpenAI's format for tool name resolution.
- Ensure that the chunk count is incremented after sending the tool call data, enhancing the message handling process in the streamWithRetry function.
This commit is contained in:
Max 2026-02-15 21:31:16 +08:00
parent a8fc21d070
commit 8a3dd148c7