fix(optional): NG2 fixed - 7 Optional[T] return-type violations migrated to Result[T]

This commit is contained in:
ed
2026-06-24 17:37:17 -04:00
parent ee4287ae4d
commit 99e0c77dcd
4 changed files with 65 additions and 34 deletions
+1 -1
View File
@@ -570,7 +570,7 @@ def run_worker_lifecycle(ticket: Ticket, context: WorkerContext, context_files:
if event_queue:
_queue_put(event_queue, 'mma_stream', {'stream_id': f'Tier 3 (Worker): {ticket.id}', 'text': chunk})
old_comms_cb = ai_client.get_comms_log_callback()
old_comms_cb = ai_client.get_comms_log_callback_result().data
def worker_comms_callback(entry: dict) -> None:
entry["mma_ticket_id"] = ticket.id
if event_queue: