full_stream。
Ruby 项目值是通用哈希,并非封闭的类型化项目联合。请验证界面使用的字段,并保留未知项目和未来供应商事件的回退处理。
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
使用 Ruby Agent 运行中的文本、推理、工具和供应商项目事件。
stream = agent.stream(input: prompt, client: client)
stream.item_stream.each do |item|
render_item(item)
end
result = stream.result
full_stream。