(value: string | undefined)
| 153 | } |
| 154 | |
| 155 | function toOptionalBoolean(value: string | undefined): boolean | undefined { |
| 156 | if (!value) return undefined; |
| 157 | const normalized = value.trim().toLowerCase(); |
| 158 | if (normalized === "true" || normalized === "1" || normalized === "yes") return true; |
| 159 | if (normalized === "false" || normalized === "0" || normalized === "no") return false; |
| 160 | return undefined; |
| 161 | } |
| 162 | |
| 163 | function getEmbedRuntimeOptions(): EmbedRuntimeOptions | undefined { |
| 164 | if (EMBED_PROVIDER === "openai") return undefined; |
no outgoing calls
no test coverage detected