Claude Code opened to any LLM — OpenAI, Gemini, DeepSeek, Ollama, and 200+ models via OpenAI-compatible API shim
TypeScript
// Stub — original type not included in source snapshot
export interface ConnectorTextBlock {
type: 'connector_text'
text: string
}
export interface ConnectorTextDelta {
type: 'connector_text_delta'
text: string
}
export function isConnectorTextBlock(block: unknown): block is ConnectorTextBlock {
return (
typeof block === 'object' &&
block !== null &&
(block as Record<string, unknown>).type === 'connector_text'
)
}