Refactor API integration and enhance command handling
- Removed unused modules and updated module paths for clarity. - Added autocomplete functionality for command input in InputState. - Updated AppStateRest to include a method for checking if a turn is in flight. - Refactored subagent engine to use new API client structure. - Changed default provider from "openrouter" to "zen" with updated API keys and models. - Implemented tests for memory management and edit log functionalities. - Enhanced error handling in API requests and improved response parsing. - Updated UI components to reflect new API provider and status indicators.
This commit is contained in:
+6
-1
@@ -30,8 +30,13 @@ pub fn draw_status_bar(frame: &mut Frame, area: Rect, state: &crate::app::state:
|
||||
.add_modifier(Modifier::BOLD),
|
||||
);
|
||||
|
||||
let agent_status = if state.turn_in_flight() {
|
||||
"PROCESSING"
|
||||
} else {
|
||||
"READY"
|
||||
};
|
||||
let center_text = Span::styled(
|
||||
format!(" | STATUS: {} | AGENT LOOP: LIVE ", mode_indicator),
|
||||
format!(" | STATUS: {} | AGENT: {} ", mode_indicator, agent_status),
|
||||
Style::default().fg(mode_color),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user