(State(state): State<Arc<ServerState>>)
| 3796 | } |
| 3797 | |
| 3798 | async fn open_themes(State(state): State<Arc<ServerState>>) -> Result<Json<bool>> { |
| 3799 | enqueue_tui_request( |
| 3800 | &state, |
| 3801 | "/tui/open-themes", |
| 3802 | serde_json::json!({ "command": "theme.list" }), |
| 3803 | ) |
| 3804 | .await; |
| 3805 | Ok(Json(true)) |
| 3806 | } |
| 3807 | |
| 3808 | async fn open_models(State(state): State<Arc<ServerState>>) -> Result<Json<bool>> { |
| 3809 | enqueue_tui_request( |
nothing calls this directly
no test coverage detected