Gaunt Sloth Assistant - v1.0.5
    Preparing search index...

    Function processJsonConfig

    • Parameters

      • llmConfig: ChatGoogleGenerativeAI & BaseLanguageModelParams & {
            disableStreaming?: boolean;
            outputVersion?: MessageOutputVersion;
        }
        • OptionaldisableStreaming?: boolean

          Whether to disable streaming.

          If streaming is bypassed, then stream() will defer to invoke().

          • If true, will always bypass streaming case.
          • If false (default), will always use streaming case if available.
        • OptionaloutputVersion?: MessageOutputVersion

          Version of AIMessage output format to store in message content.

          AIMessage.contentBlocks will lazily parse the contents of content into a standard format. This flag can be used to additionally store the standard format as the message content, e.g., for serialization purposes.

          • "v0": provider-specific format in content (can lazily parse with .contentBlocks)
          • "v1": standardized format in content (consistent with .contentBlocks)

          You can also set LC_OUTPUT_VERSION as an environment variable to "v1" to enable this by default.

          "v0"
          

      Returns Promise<
          BaseChatModel<
              BaseChatModelCallOptions,
              AIMessageChunk<MessageStructure>,
          >,
      >