Theia API Documentation v1.66.0
    Preparing search index...

    Default implementation of the chat content deserializer registry.

    This registry collects deserializers from all bound ChatContentDeserializerContribution instances during its post-construction initialization phase. Deserializers are stored in a map keyed by their content kind.

    The registry handles unknown content types gracefully by returning an UnknownChatResponseContentImpl instance when no deserializer is found, ensuring that chat sessions can still be loaded even if some content types are no longer supported or available.

    ChatContentDeserializerRegistry for the interface definition

    Implements

    Index

    Constructors

    Properties

    deserializerContributions: ContributionProvider<
        ChatContentDeserializerContribution,
    >
    deserializers: Map<string, ChatContentDeserializer<unknown>> = ...

    Map of registered deserializers, keyed by content kind.

    logger: ILogger

    Methods

    • Initializes the registry by collecting deserializers from all contributions. This method is automatically called after construction due to the @postConstruct decorator.

      Returns void