docs: ToolProgress 补全 Error + Result 字段
This commit is contained in:
@@ -180,6 +180,8 @@ type ToolProgress struct {
|
||||
Status string `json:"status"` // running / completed / failed / cancelled
|
||||
Progress float64 `json:"progress"` // 0.0 ~ 1.0
|
||||
Message string `json:"message,omitempty"`
|
||||
Error string `json:"error,omitempty"`
|
||||
Result *ToolResult `json:"result,omitempty"`
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user