File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
cczoo/rag/frontend/chatbot-rag Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -92,12 +92,14 @@ def resp_iter(r):
9292
9393# Check the connection
9494with st .spinner ("⌛️ Chatbot-RAG demo is starting..." ):
95+ status = get_ratls_output ()
9596 if not haystack_is_ready (model_type ):
9697 st .error ("🚫 Connection Error. Is the chatbot-rag pipeline service running?" )
97- else :
98+ elif "grpc-ratls" in status :
9899 st .success ("✅ Secure connection established with Intel\u00AE TDX technology" )
100+ else :
101+ st .warning ("⚠️ Connection established with an insecure channel" )
99102
100- status = get_ratls_output ()
101103 if "grpc-ratls" in status :
102104 with st .expander ('Connection Message:' , expanded = True ):
103105 st .text (status )
You can’t perform that action at this time.
0 commit comments