WARNING streamlit.runtime.caching.cache_data_api: No runtime found, using MemoryCacheStorageManager
Initial diagnosis:
The @st.cache_data decorators on embedding_service.get_model_options and data_preview._fetch_image_from_url_cached are applied at module import time, which fires before Streamlit's runtime exists in the CLI entry-point shim process. The fallback to MemoryCacheStorageManager works correctly, so the warning is cosmetic.
Fix by either lazily importing the decorated module from inside app(), or by wrapping st.cache_data with a no-op fallback when the runtime isn't available.
Initial diagnosis:
The
@st.cache_datadecorators onembedding_service.get_model_optionsanddata_preview._fetch_image_from_url_cachedare applied at module import time, which fires before Streamlit's runtime exists in the CLI entry-point shim process. The fallback toMemoryCacheStorageManagerworks correctly, so the warning is cosmetic.Fix by either lazily importing the decorated module from inside
app(), or by wrappingst.cache_datawith a no-op fallback when the runtime isn't available.