File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ class GenerationMetadata(SpanMetadata):
6262 """Base URL of the provider's API used in the run."""
6363
6464
65- RunMetadataUnion = Union [SpanMetadata , GenerationMetadata ]
66- RunMetadataStorage = Dict [UUID , RunMetadataUnion ]
65+ RunMetadata = Union [SpanMetadata , GenerationMetadata ]
66+ RunMetadataStorage = Dict [UUID , RunMetadata ]
6767
6868
6969class CallbackHandler (BaseCallbackHandler ):
@@ -388,7 +388,7 @@ def _set_llm_metadata(
388388 pass
389389 self ._runs [run_id ] = generation
390390
391- def _pop_run_metadata (self , run_id : UUID ) -> Optional [RunMetadataUnion ]:
391+ def _pop_run_metadata (self , run_id : UUID ) -> Optional [RunMetadata ]:
392392 end_time = time .time ()
393393 try :
394394 run = self ._runs .pop (run_id )
You can’t perform that action at this time.
0 commit comments