@@ -117,30 +117,26 @@ pub fn render_chat(
117117
118118 frame. render_widget ( logo_paragraph, vertical_chunks[ 1 ] ) ;
119119
120- // Status-based message
120+ // Status-based message - show one error at a time, prioritizing local > cloud > api key
121121 let ( status_text, status_style) = match agent_status {
122- AgentStatus :: Ready => (
123- "Press [ENTER] to Start Ruixen" ,
124- theme. ratatui_style ( Element :: Accent ) ,
125- ) ,
126122 AgentStatus :: LocalEndpointError => (
127- "⚠️ Local endpoint error - Check settings [S]" ,
123+ "Local not ready - see [S]ettings " ,
128124 theme. ratatui_style ( Element :: Warning ) ,
129125 ) ,
130- AgentStatus :: CloudEndpointError => (
131- "⚠️ Cloud endpoint error - Check settings [S]" ,
126+ AgentStatus :: CheckLocalModel => (
127+ "Local not ready - see [S]ettings " ,
132128 theme. ratatui_style ( Element :: Warning ) ,
133129 ) ,
134- AgentStatus :: CheckLocalModel => (
135- "⚠️ Local model not configured - Check settings [S]" ,
130+ AgentStatus :: CloudEndpointError => (
131+ "Cloud not ready - see [S]ettings " ,
136132 theme. ratatui_style ( Element :: Warning ) ,
137133 ) ,
138134 AgentStatus :: CheckCloudModel => (
139- "⚠️ Cloud model not configured - Check settings [S]" ,
135+ "Cloud not ready - see [S]ettings " ,
140136 theme. ratatui_style ( Element :: Warning ) ,
141137 ) ,
142138 AgentStatus :: CheckApiKey => (
143- "⚠️ API key not configured - Check settings [S]" ,
139+ "API Key not ready - see [S]ettings " ,
144140 theme. ratatui_style ( Element :: Warning ) ,
145141 ) ,
146142 AgentStatus :: ValidatingLocal => (
@@ -152,8 +148,8 @@ pub fn render_chat(
152148 theme. ratatui_style ( Element :: Info ) ,
153149 ) ,
154150 _ => (
155- "Press [ENTER] when local and cloud models are ready " ,
156- theme. ratatui_style ( Element :: Inactive ) ,
151+ "Press [ENTER] to start Ruixen " ,
152+ theme. ratatui_style ( Element :: Accent ) ,
157153 ) ,
158154 } ;
159155
0 commit comments