File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ const ragKnowledgeBaseEnabled: boolean =
5555const samlAuthEnabled : boolean =
5656 import . meta. env . VITE_APP_SAMLAUTH_ENABLED === 'true' ;
5757const agentEnabled : boolean = import . meta. env . VITE_APP_AGENT_ENABLED === 'true' ;
58- const inlineAgents : boolean = import . meta. env . VITE_APP_INLINE_AGENTS === 'true' ;
5958const mcpEnabled : boolean = import . meta. env . VITE_APP_MCP_ENABLED === 'true' ;
6059const agentCoreEnabled : boolean =
6160 import . meta. env . VITE_APP_AGENT_CORE_ENABLED === 'true' ;
@@ -184,13 +183,13 @@ const routes: RouteObject[] = [
184183 element : < RagKnowledgeBasePage /> ,
185184 }
186185 : null ,
187- agentEnabled && ! inlineAgents
186+ agentEnabled
188187 ? {
189188 path : '/agent' ,
190189 element : < AgentChatPage /> ,
191190 }
192191 : null ,
193- agentEnabled && inlineAgents
192+ agentEnabled
194193 ? {
195194 path : '/agent/:agentName' ,
196195 element : < AgentChatPage /> ,
You can’t perform that action at this time.
0 commit comments