(model: string)
| 40 | } |
| 41 | |
| 42 | export function getEmbeddingModelInfo(model: string): EmbeddingModelInfo { |
| 43 | const info = SUPPORTED_EMBEDDING_MODELS[model] |
| 44 | if (!info) { |
| 45 | throw new Error(`Unsupported embedding model: ${model}`) |
| 46 | } |
| 47 | return info |
| 48 | } |
no outgoing calls
no test coverage detected