pub fn into_legacy_embedding(err: &LlmBackendError) -> AppErrorExpand description
Converts an LlmBackendError to a legacy AppError::Embedding(String)
so call sites that still return the old shape keep compiling during
the migration window. Once all call sites are migrated to return
LlmBackendError directly, this helper can be deleted.