ruvnet/ruflo · error
The EXPOSE_API flag has been deprecated. The API is now requ
Error message
The EXPOSE_API flag has been deprecated. The API is now required for chat-ui to work.
What it means
Startup deprecation warning from initServer: the EXPOSE_API flag no longer does anything — the API is mandatory for chat-ui now — so setting it only produces this warning.
Source
Thrown at ruflo/src/ruvocal/src/lib/server/hooks/init.ts:47
initExitHandler();
if (config.METRICS_ENABLED === "true") {
MetricsServer.getInstance();
}
checkAndRunMigrations();
refreshConversationStats();
// Load MCP servers at startup
loadMcpServersOnStartup();
// Init AbortedGenerations refresh process
AbortedGenerations.getInstance();
adminTokenManager.displayToken();
if (config.EXPOSE_API) {
logger.warn(
"The EXPOSE_API flag has been deprecated. The API is now required for chat-ui to work."
);
}
}
View on GitHub (pinned to fa13ee4ad6)
Solutions
- Remove the EXPOSE_API flag from configuration; the API is always enabled now.
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at ruflo/src/ruvocal/src/lib/server/hooks/init.ts:47 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of ruvnet/ruflo@fa13ee4ad6 (2026-08-18).
Data as JSON: /api/errors/cfe90f56c93f5141.
Report an issue: GitHub.