-func (r *TurnEventRecorder) Add(event Event) {
- r.mutex.Lock()
- defer r.mutex.Unlock()
-
- r.events = append(r.events, event)
+func modelReasoningItem(id, encrypted string) map[string]any {
+ return map[string]any{
+ "type": "reasoning",
+ "id": id,
+ "encrypted_content": encrypted,
+ "summary": []any{},
+ }