diff --git a/src/gui_2.py b/src/gui_2.py index 02aff787..37634a5e 100644 --- a/src/gui_2.py +++ b/src/gui_2.py @@ -2305,6 +2305,15 @@ def render_provider_panel(app: App) -> None: if imgui.selectable(p, p == app.current_provider)[0]: app.current_provider = p imgui.end_combo() + caps = app._get_active_capabilities() + if caps.local: + imgui.same_line() + imgui.text_colored(theme.get_color("status_success"), " [Local]") + if imgui.is_item_hovered(): + base_url: str = "" + if app.current_provider == "llama": + base_url = getattr(ai_client, "_llama_base_url", "") + imgui.set_tooltip(f"Local backend: {base_url or 'unknown'}" if base_url else "Local backend") imgui.separator() imgui.text("Model") if imgui.begin_list_box("##models", imgui.ImVec2(-1, 120)):