docs: ToolProgress 补全 Error + Result 字段
This commit is contained in:
@@ -176,10 +176,12 @@ type ComplexTool interface {
|
||||
}
|
||||
|
||||
type ToolProgress struct {
|
||||
ExecutionID string `json:"execution_id"`
|
||||
Status string `json:"status"` // running / completed / failed / cancelled
|
||||
Progress float64 `json:"progress"` // 0.0 ~ 1.0
|
||||
Message string `json:"message,omitempty"`
|
||||
ExecutionID string `json:"execution_id"`
|
||||
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