Improve configs - the rest! (#17562)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2025-05-09 15:18:44 -07:00
committed by GitHub
parent 7e3571134f
commit 4b2ed7926a
14 changed files with 456 additions and 340 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ import threading
import time
from abc import ABC, abstractmethod
from collections import deque
from dataclasses import asdict
from itertools import count
from queue import Queue
from typing import Any, Callable, Optional, Union
@@ -284,7 +285,7 @@ class EventPublisherFactory:
if not config:
return NullEventPublisher()
config_dict = config.model_dump()
config_dict = asdict(config)
kind = config_dict.pop("publisher", "null")
config_dict.pop("enable_kv_cache_events")