agent.Stream() 为什么没有去实现tool_call后二次流式调度呀?
Open
D-adk
E-needs-mvce
- Dominant language
- Go
- Stars
- 13k
- Forks
- 1.1k
- Avg merge
- 4h 6m
- Merged PRs (30d)
- 41
Description
我发现 使用Stream 在模型发起tool call后,就流式断了, 消息如下, 没有内置去执行tool call后拼接二次流式调度,也没找到有实现的api (虽然这个可以去手动实现)
```go
agent.Stream()
```
断开消息如下
```
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}}
```
Contributor guide
Assessment
This issue has not been assessed yet.