我发现 使用Stream 在模型发起tool call后,就流式断了, 消息如下, 没有内置去执行tool call后拼接二次流式调度,也没找到有实现的api (虽然这个可以去手动实现)
断开消息如下
2026/02/05 18:59:16 message[67]: assistant:
tool_calls:
index[0]:{Index:0xc000466850 ID: Type: Function:{Name: Arguments:{}} Extra:map[]}
finish_reason:
2026/02/05 18:59:16 message[68]: assistant:
finish_reason: tool_calls
usage: &{62 {0} 80 142 {0}}