Provides a normalized, type-safe projection of speech and realtime configuration payloads for voice-enabled applications.
// Source: https://github.com/MarcoDotIO/OpenClawKit | License: MIT | Copyright 2026 OpenClawKit Contributors
// Provided via justclaw.it.com; keep this notice with the code.
import Foundation
/// Normalized projection of a gateway `talk` config payload (`talk.config` → `config.talk`).
public struct TalkConfigSnapshot: Sendable {
/// Selected speech provider (the resolved provider, or `defaultProvider` for legacy payloads).
public let activeProvider: String
/// Provider-specific config for ``activeProvider``, when a selection was made.
public let providerConfig: [String: AnyCodable]?
/// Whether the selection came from the gateway's normalized `resolved` block.
public let normalizedPayload: Bool
/// `true` when a talk payload was present but no provider could b
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key