()
| 65 | } |
| 66 | |
| 67 | func (r *GeneralOpenAIRequest) ToMap() map[string]any { |
| 68 | result := make(map[string]any) |
| 69 | data, _ := common.Marshal(r) |
| 70 | _ = common.Unmarshal(data, &result) |
| 71 | return result |
| 72 | } |
| 73 | |
| 74 | type ToolCallRequest struct { |
| 75 | ID string `json:"id,omitempty"` |
no test coverage detected