Files
orca/src/shared/native-chat/transcript/native-chat-transcript-readability.ts
T

9 lines
330 B
TypeScript

import { isRuntimeOwnedSshTargetId } from '../../execution-host'
/** Model-A SSH stores Grok transcripts on a host this renderer cannot read. */
export function isNativeChatTranscriptLocalReadable(
connectionId: string | null | undefined
): boolean {
return connectionId === null || isRuntimeOwnedSshTargetId(connectionId)
}