Skip to content

Releases

KDE AI Chat 1.5.2

Choose a tag to compare

@racstan racstan released this 03 Dec 09:41

KDE AI Chat 1.5.2 lets the chat leave the panel.

Video tour (13 min): https://youtu.be/4PHhnUUukYo

New: pop-out window (beta). ⋮ › Pop out into a window moves the chat out of the panel into its own window, a normal desktop window: drag it anywhere, also to another monitor, resize, maximise or minimise it. The pin keeps it above other windows; unpinned, other windows can cover it. It comes back where you left it, with its size and pin. ⋮ › Back to the panel, or closing the window, puts the chat back in the panel. Thanks to @Androboulougouris for the idea (#13).

Fixed

  • Quick actions and Ask about selected text work on Plasma without extra clipboard tools: without wl-clipboard or xclip they now use Plasma's own clipboard (Klipper). Thanks to the KDE Store user who reported it.
  • The schedule editor fits a narrow chat with a large text size; Save and the weekend days were cut off at the screen's edge.
  • The chat history opens at once, also with many chats: the list is built in the background and kept, not rebuilt on every open.

Thanks

Commercial use needs permission: ask with the commercial use request form.

Install: download the .plasmoid below and run kpackagetool6 -u org.kde.plasma.kdeaichat-v1.5.2.plasmoid (or -i for a first install), then restart Plasma: systemctl --user restart plasma-plasmashell.service.

The full list is in changelog.md.

KDE AI Chat 1.5.1

Choose a tag to compare

@racstan racstan released this 03 Dec 07:13

KDE AI Chat 1.5.1 makes the widget calmer and more predictable. Nothing new to learn: things behave the way KDE settings usually do.

Video tour (13 min): https://youtu.be/4PHhnUUukYo

Settings save on OK or Apply, everywhere. Providers and their keys, memories, schedules, web-page watches and the web-search key used to be saved the moment you pressed their own Save button, while everything else waited for Apply. Now everything waits: the list buttons say Done, Apply lights up, Plasma asks before you leave a page with changes, and Cancel really undoes them. Keys still go only to KDE Wallet.

Also in this release

  • Settings › Features is shorter: one row per feature with More… for the details, and a search field.
  • The error card puts the fix first: an unknown model or a wrong address says so plainly, with Change model and Settings as the main buttons.
  • First run is calmer: no "online" badge or folder bar before anything is set up, and Skip is at the top.
  • The keyboard focus goes back to the message box when a panel closes; the panel icon works with the keyboard and screen readers and asks for attention while a reply waits for you.
  • Touch screens show the buttons under messages; renaming a chat can be cancelled.
  • "Reply from a notification" (beta) is now off by default, like every other new feature. Turn it on in Settings › Features.
  • OpenCode fixes: provider and model can be changed while OpenCode isn't running, a clearer v1/v2 version picker, and OpenCode 2 models with the same base stay apart.
  • New in this version: when an update is installed, the widget offers to restart Plasma so the new version is loaded.

Install: download the .plasmoid below and run kpackagetool6 -u org.kde.plasma.kdeaichat-v1.5.1.plasmoid (or -i for a first install), then restart Plasma: systemctl --user restart plasma-plasmashell.service.

The full list is in changelog.md.

KDE AI Chat 1.5.0

Choose a tag to compare

@racstan racstan released this 02 Dec 15:27

KDE AI Chat 1.5.0 is a big update. Direct chats can now use tools: your MCP servers, web search, reading web pages, agent tools in a workspace folder and skills, and every tool use asks you first. OpenCode 2 is supported (#14), the widget follows your Plasma theme (#15) and shows the chat itself when it is big on the desktop (#13). There is also a new ACP agent mode (beta) for other coding agents such as Gemini CLI, Goose or Codex, fallback models, spending and budgets, charts and diagrams in replies, and desktop features such as quick actions on selected text, Ask about my screen and KDE Connect.

Every new feature is off until you turn it on in Settings › Features, which also marks the ones that work in direct chats only. OpenCode and Pi chats use OpenCode's or Pi's own tools, skills, extensions and permissions. Each settings page can be reset to its defaults.

Install: download the .plasmoid file below and install it with Add Widgets › Get New Widgets › Install Widget From Local File, or run kpackagetool6 -t Plasma/Applet -u org.kde.plasma.kdeaichat-v1.5.0.plasmoid to update an installed copy.

Added

  • GitHub Sponsors. Settings › Support now also links to the developer's GitHub Sponsors page.
  • Reset a settings page to its defaults. Every settings page with settings has “Reset this page to defaults…” at its foot. It asks first, says how many settings change, and leaves your lists (providers, fallback models, tool rules, quick actions, prices), keys, chats and memories alone; Cancel in the settings window still undoes it.
  • ACP agents (beta). A new mode for other coding agents that speak the Agent Client Protocol: Gemini CLI (gemini --acp), Goose (goose acp), Codex and Claude Code through Zed's adapters, or any other. OpenCode and Pi don't need it: they have their own built-in modes, which do more. Choose “Through an ACP agent” on Settings › Connection, pick the agent and press Check the agent. The agent runs on this computer in the chat's folder, with its own model and settings; its tool calls, plans and file changes show in the reply, and it asks before it changes things (Allow, Always allow or Reject, as the agent offers). Each chat continues its own session of the agent. ACP agent sessions… in the chat's ⋮ menu lists the agent's earlier sessions, also those started in a terminal or an editor: open one to continue it here (with what was said, if the agent can replay it) or delete it. Switch: Settings › Features › ACP agents (off by default).
  • Skills in direct chats. Skill folders with a SKILL.md (the format Claude and OpenCode use) in your skills folder, or in ~/.claude/skills and ~/.config/opencode/skill once you switch them on, can be switched on in Settings › Tools › Skills. The AI sees each skill's name and one line, and reads the full instructions with a “load_skill” tool only when it needs them; skills are only instructions and nothing in them is run. A chat with a workspace folder also uses that folder's .claude/skills. Direct chats only. Switch: Settings › Features › Skills (off by default).
  • Tool permissions. Settings › Tools › Tool permissions lists every rule about the tools of direct chats in one place: “Always allow” or “Never”, for all chats or for one project's chats (a project rule wins). Add, change or remove rules there; “Always allow” on a request in a project chat is now kept for that project. A tool set to “Never” is not offered to the AI's calls and is never asked for; background tasks follow the same rules. Changing files and running commands always ask.
  • Agent tools in direct chats. A direct chat with a workspace folder can let the AI list, read and search the files in that folder (never outside it), and, if you tick them on Settings › Tools, create and edit files and run commands there. Every change and every command asks you first, every time (no "Always allow"); commands stop after 5 minutes at most. Such chats may take up to 30 tool rounds instead of 8. Switch: Settings › Features › Agent tools (off by default).
  • Fallback models. When a direct chat's model can't answer (the service is down, too slow, limiting how fast you send, out of credit, or the model is gone), the next model of your list answers instead, and the reply says so. Set the list in Settings › Connection after turning on Settings › Features › Fallback models.
  • Estimated costs from a price list. Replies from services that report no cost now get an estimate from the price of the model, marked as an estimate on Settings → Spending (kept apart from reported costs) and counted towards budgets and budget alerts. Prices come from your own prices (Settings → Spending → Prices, dollars per million tokens), then a price file that is filled only when you press Update prices (it reads OpenRouter's public model list once; nothing is fetched by itself), then OpenCode's own model list if it is installed. Models are matched by their exact name, then by the part after the last "/". A model with no price stays "not reported". Part of Settings → Features → Spending and budgets.
  • Charts and Mermaid diagrams in replies. A chart code block (a small JSON spec: bar, line or pie) is drawn as a chart by the widget, and a mermaid block is drawn as a diagram by a short-lived helper process using a bundled copy of Mermaid 11.4.1 (nothing is loaded from the web). Each has an Open larger button and a Show code toggle; anything that does not parse stays a normal code block. Settings › Features › Charts and diagrams turns it off.
  • Context use circle. A small circle by the message box shows how much of the model's context the chat fills, from the token counts the service reported for the last reply and the model's context size from the provider's model list, OpenCode's catalog or Pi. Hover it for the numbers. When the size isn't known, it shows the token count instead. Settings › Features › Context use turns it off.
  • OpenCode version picker. Settings → Connection → OpenCode has a Version choice: Automatic (as before), OpenCode 1 or OpenCode 2. Check names the version it found and warns when the server runs the other one; OpenCode 1 hides the server password.
  • Side chats. The Side chat button under a message in a direct chat opens a small chat over the popup with the conversation up to that message as context, same prompt, provider, model and settings. Ask a side question without touching the main chat; Add to chat puts an answer into your next message as a quote (nothing is sent by itself) and Drop deletes the side chat. Messages with side chats show an "N side chats" link. Side chats are kept with their chat and have no tools; not available in agent (OpenCode, Pi, AG-UI) or incognito chats. Switch: Settings → Features → Side chats. Off by default: turn it on in Settings → Features.
  • KDE Connect: send to phone, ask from phone. A Send to phone button under every message shares its text to a paired, reachable phone with KDE Connect (one phone: at once; several: you choose; none: a clear message). The text goes over D-Bus, not on a command line other users could read. Asking from the phone: copy text there, tap the Ask KDE AI Chat Run command in the KDE Connect app, and it opens in a new chat here (new kdeaichat-ask --clipboard; it never sends by itself). Settings → Desktop integration → Ask from phone shows the command and adds it to your paired phones' Run-command lists (only our own entry; it is removed when you turn the feature off). The switch (Settings → Features → KDE Connect) is off by default. See Desktop integration.
  • Clickable answers. In direct chats, when the AI offers choices they show as buttons under its reply (a click sends it as your next message), and results with sources show as cards that open the address in your browser when you click them (http and https only; nothing is loaded by itself). This adds two small tools, suggest_replies and show_cards, to direct-mode requests; switch it off in Settings → Features → Clickable answers. See Tools. Off by default: turn it on in Settings → Features.
  • Spending page with monthly budgets. Settings → Spending shows what your replies cost this month (and earlier months), per provider, per model and per day, as each provider reported it: nothing is estimated, and a reply without a cost counts in tokens only. Give a provider a monthly budget and you get one alert at 80% (you can change the share) and one at 100%, in the chat and as a notification while the popup is closed; messages are still sent. The log holds only times, providers, models and token counts, never chat text, and stays on this computer (~/.local/share/kdeaichat/usage/). Off by default: turn it on in Settings → Features.
  • Back up, restore and import chats. Settings → Storage → Backup makes one file with your chats (with their pictures and attached files), memories, schedules and, if you like, your settings. API keys are never in it, and the MCP server list loses its headers and secret values. Restoring only adds: a chat, memory or project you already have is never overwritten, and restored schedules start switched off. The same section imports a ChatGPT or Claude data export as normal chats.
  • Prompt caching in direct chats. Requests to Anthropic, and to Anthropic models through OpenRouter, mark the stable start of the conversation for the provider's prompt cache, so long chats cost less and answer sooner. Chat info shows the cached tokens. Switching a chat's model warns that the provider's cache starts over.
  • Reply from a notification. The notification for a finished reply has a Reply… box: type your answer and it is sent into that chat as a new message without opening the widget. Not offered in incognito chats or on error notifications. Switch it off i...
Read more

KDE AI Chat 1.4.1

Choose a tag to compare

@racstan racstan released this 29 Oct 03:51

KDE AI Chat 1.4.1 fixes the problems a review of 1.4.0 found. Updating is recommended, especially if you use OpenCode or Pi.

Security and privacy

  • Replies can no longer make the widget load a web address by itself. Some ways of writing a picture link in a reply slipped past the filter, and the chat loaded them as soon as the reply was shown. A prompt hidden in a web page or file could have used this to send parts of a chat to another server. Every picture in a reply now waits for a click.
  • Tool cards and model names are shown as plain text, so an OpenCode or Pi agent can't make the chat load anything either.
  • Permission notifications only offer Allow when they show the whole command. Longer requests open the chat instead.
  • Notification text is escaped, and incognito chats' "input needed" notifications no longer show the question or command.
  • A warning when a provider with a key uses plain http:// to another computer.
  • Names and times the helper checks no longer accept a trailing line break.

Fixed

  • Edit, Retry or Regenerate while a message is queued runs one request. Before, the request it replaced kept running unseen (using tokens; in OpenCode and Pi the agent kept working).
  • Every visible text can be translated, with proper plural forms. The translations themselves are still partial (see Known problems in the README).
  • The widget's description in Add Widgets is up to date.

Full list of changes: changelog.md · Tour of 1.4: https://youtu.be/SnkKFCN_Jkg

KDE AI Chat 1.4.0

Choose a tag to compare

@racstan racstan released this 29 Oct 02:49

KDE AI Chat 1.4.0 is a rebuild of the widget. Chats, keys and settings are stored in new, private places, the settings are split into small pages that explain every option, and a chat can now run in one of three modes: direct to a provider, through OpenCode, or through the Pi coding agent.

A short video tour: https://youtu.be/SnkKFCN_Jkg

What's new

  • Keys only in KWallet, chats in private files. API keys are no longer written to Plasma's config. Each chat is its own file in ~/.local/share/kdeaichat/chats/.
  • First-run setup. A fresh install shows a short setup card: pick a local server found on this computer (Ollama, LM Studio, llama.cpp, ...) or an online service, paste the key, choose a model.
  • Three modes. Direct, OpenCode or Pi. A chat keeps the mode it was started in; Pi and OpenCode replies stream, with tool steps, questions and permission requests in the chat.
  • Projects, archive and search. Group chats into projects with their own instructions and folder, archive chats, and search across all chats (Ctrl+Shift+F). Incognito chats (Ctrl+Shift+N) are never written to disk.
  • Memory, redesigned. Short notes you save yourself (Remember, /remember), for every chat, one project or one chat, managed in Settings → Memory.
  • Personality. Tell the AI about you and give it a name, a personality and an avatar (also animated or a short video).
  • Schedules run on their own. Timing rules such as "Mondays at 16:00, other days at 15:00", run by systemd timers in the chat's own mode, even when the widget is closed.
  • Voice through Speech Note. Dictation and read aloud use Speech Note, the system voice or a speech server; the widget no longer installs speech models itself.
  • Pictures. Image replies are saved and shown in the chat; AI Horde and Pollinations can make pictures with /image.
  • Desktop integration (off by default). Ask from KRunner (ai <question>), from Dolphin's right-click menu, or about selected text with Meta+Alt+A.
  • Slash commands, quotes and keyboard use. /model, /variant, /new, quoting messages, browsing messages with the keyboard, and names for every control so screen readers can use the widget.
  • Settings → Storage shows where the widget keeps its data and what uses the space.

License

From 1.4.0 KDE AI Chat is under the PolyForm Noncommercial License 1.0.0 (free for noncommercial use). Versions up to 1.3.1 stay under their earlier GPL license.

Upgrading from 1.3.x

Your chats and API keys are moved to the new places automatically on the first start; old copies are removed only after the move is checked. Speech engines installed by earlier versions are no longer used: remove them in Settings → Storage → "Old voice engines".

Known problems, and what is planned for 1.5 (MCP servers, skills and agent tools in direct chats): see the README.

Full list of changes: changelog.md

v1.3.1

Choose a tag to compare

@racstan racstan released this 22 Jul 03:53

Changelog

All notable changes to the KDE AI Chat project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[1.3.1] - 2026-07-22

Fixed

  • 🗣️ Voice Service Autostart Management: Fixed an issue where systemd user units (kde-ai-stt.service and kde-ai-tts.service) remained enabled and autostarted on system reboot even when voice tools were toggled off in settings. Toggling voice tools or TTS off now disables systemd autostart units (systemctl --user disable --now), and widget startup automatically syncs systemd service state to avoid unnecessary background RAM usage.

[1.3.0] - 2026-07-21

Added

  • ■ Global TTS Stop Button: Added an interactive global Stop (■) button to the bottom chat status bar during voice generation/playback, allowing instant interruption of text-to-speech.
  • 📚 Streamlined Step-by-Step Setup Guide: Completely redesigned VOICE_SETUP.md with clear distros requirements (Ubuntu, Arch, Fedora, openSUSE) and explicit environment steps.
  • 📸 10-Image Screenshot Gallery: Refactored the README.md to feature 10 newly-updated screenshots displaying settings, task scheduler, voice tools, and system memory monitors.

Fixed

  • 🗣️ Local Voice Mode GPU Support: Fixed a bug where Voice STT/TTS would silently fall back to CPU despite GPU/CUDA libraries being installed. Ensured venv CUDA libs are preloaded before PyTorch checks device availability.
  • ⚠️ Voice Installation Disclaimers: Added time and storage requirement warnings to the setup guide to manage user expectations during machine learning framework installation.

[1.2.9] - 2026-07-20

Added

  • 🗣️ Local Voice Tools Integration: Documented Voice Mode and local setup for Whisper Speech-to-Text and Kokoro Text-to-Speech in the primary README and verified compatibility lists.
  • 📅 Background Task Scheduler: Promoted the systemd-integrated cron task scheduler daemon to a first-class supported feature.
  • 📚 Documentation Updates: Refactored README, VOICE_SETUP, and file catalogs to match the current release structure.

Fixed

  • Voice Mode State Leakage & Controls: Fixed voice status leakage across different chat sessions by centralizing the playback tracker in the root main.qml component. Switching chat sessions or creating new ones now properly halts current voice generation, stops playback, and cleans up UI states.
  • Manual TTS Stop Buttons: Enabled manual TTS stop action on spoken assistant responses.
  • Voice Playback Race Condition: Fixed a race condition in voice_helper.py where starting a new TTS session while one was active could cause state collisions. Added thread joins to wait for the previous synthesis thread to clean up before initiating the new playback.
  • Scheduler Auto-Archive and Limits: Migrated and updated the scheduler task tracking logic in kde-ai-scheduler.py to auto-archive completed scheduled tasks and show run counts in ScheduleDialog.qml.
  • Repository Cleanup: Removed unused pre-production testing scripts and temporary log files from git tracking.

[1.2.8] - 2026-05-28

Added

  • 6-Part Demonstration Walkthrough Videos: Replaced the outdated 2-part walkthrough with a brand new, highly comprehensive 6-part video walkthrough series under .github/assets/ spanning all widget capabilities.

Fixed

  • API Key Config Save Fix: Resolved a critical race condition in the KCM initialization lifecycle where empty API key values were flushed over user credentials before cfg_ aliases fully loaded.
  • Settings Auto-Save & Cleanup: Removed the redundant manual "Save keys to config file" action button; keys are now fully auto-saved on switch and when closing/destroying the settings panel.
  • Always-Visible Clear Chat Button: Kept the "Clear current chat history" button visible at all times in the chat view to prevent header layout shifting, disabling it dynamically when there are no messages to clear.
  • Repository Streamlining & Clean Packaging: Purged unused development assets and the deprecated scratchpad file scratch_config_v126.qml from the root directory.

[1.2.7] - 2026-05-27

Added

  • Secure KWallet & Configuration Sync: Replaced the old KWallet toggle with an automated background synchronization mechanism. API keys entered in settings are securely saved to KWallet via DBus, and fall back to local configuration (~/.config/kdeaichatrc) if KWallet is unavailable.
  • Configuration Auto-Save: Settings are now persisted automatically as the user types — no Apply button click required. The configuration is written to disk immediately on change.
  • Chat Export: Export any conversation to a .md or .txt file via the chat toolbar. The save dialog is pre-filled with <chat_title>_<timestamp>.<ext> as the default filename. Exports use full UTF-8 encoding and include a formatted header with role labels, timestamps, and the export date.
  • Right-Aligned User Bubbles: User messages are now right-aligned with a distinct bubble style, mirroring modern messaging UIs. AI responses and system messages remain left-aligned.
  • LiteLLM Proxy Provider: Added LiteLLM Proxy as a fully supported 17th provider. Connects to any LiteLLM-compatible server (default http://localhost:4000/v1). API key is optional for keyless local proxy setups. Full model discovery, KWallet/plain-config key storage, and model selection are all supported, enabling routing to 100+ LLMs through a single unified proxy.

Fixed

  • Base64 Config Serialization: Rewrote config payload handling to use base64 encoding when passing data through shell commands, eliminating all bash double-quote stripping and config parsing errors that occurred with special characters in API keys.
  • Config File Race Condition: The config file and its parent directory are now guaranteed to exist before xdg-open is called, preventing the "empty file" bug where opening the config showed a blank file.
  • KConfig Caching: Implemented physical plainconfig loading and synchronous pre-open writing to bypass KConfig's in-memory cache, ensuring the file on disk always reflects the current UI state.
  • Duplicate xaiApiKey assignment: Removed an accidental double-assignment of xaiApiKeyField.text in applyPlainConfigKeys.

[1.2.6] - 2026-05-23

Added

  • Multi-Format Document & File Attachments: Added drag-and-drop and copy-paste support for document attachments (Images, Word files, PDFs, CSVs, etc.) directly into the chat input field.
  • Text-Free Attachment Submissions: Allows users to dispatch queries consisting solely of attachment files (images, documents) without forcing textual prompt input.
  • Message Editing & History Rewind: Modifying an older user prompt now cleanly deletes all messages following it and re-runs the query, allowing users to rewind the chat history from the edited prompt.
  • Viewport-Aware Question Navigation: Added Up/Down tool navigation buttons in the toolbar to cycle between user questions based on the active scroll viewport, with fallback index checking to prevent empty page scrolling.
  • NVIDIA NIM & OpenRouter Attribution: Fully updated all NVIDIA configurations to the standard "NVIDIA NIM" terminology. Added HTTP-Referer and X-Title metrics/attribution headers for OpenRouter API requests.

Fixed

  • Scrollbar Stability (Layout Flickering): Added large cache buffers (cacheBuffer: 20000 on messages and 5000 on history) to prevent dynamic delegate recycling and scrollbar sizing/position jitter during scrolling.
  • Interactive Drag & Wheel Scrolling: Overhauled manual scroll detection by monitoring contentY changes and checking scrollbar active/pressed states to prevent automated snap-to-bottom actions from fighting the user's manual scroll.
  • API Key Whitespace Sanitization: Automatically .trim() all keys when loading configurations, stripping accidental spaces/newlines copied from web browsers that trigger HTTP 401 Unauthorized errors.
  • NVIDIA NIM Error Field Parsing: Enhanced JSON response parsing in doOpenAICompatRequest to capture and display custom API error fields (such as detail or message) returned by NVIDIA NIM and OpenRouter gateway endpoints.

[1.2.5] - 2026-05-22

Added

  • Interactive Ctrl+Scroll Zooming: Added Ctrl+Scroll interactive zooming support (0.75x to 1.5x layout scaling) for the settings configuration sheet, offering on-the-fly sizing adjustments.

Fixed

  • Dynamic Sizing and Auto-Scaling: Completely overhauled the KCM configuration sheet to be dynamically responsive across all monitor aspect ratios and DPI scales. Enabled adaptive wideMode (single-column under 36 gridUnits, two-column when wide) and bound Layout.preferredWidth: 0 to all fields, comboboxes, text areas, and warning labels, eliminating horizontal stretching and LHS coordinate clipping.

[1.2.4] - 2026-05-22

Added

  • Precise Bottom Scrolling: Re-engineered scrollToBottom() list view controller to align to the absolute bottom coordinate (contentHeight - height) to ensure it scrolls precisely to the last line of the latest message instead of its midpoint.
  • Settings Theme Warning: Added a helpful system configuration note in the appearance theme label explaining that appearance preferences apply strictly to the main chat popup UI, while the KCM settings sheet style is natively driven by the host system.

Fixed

  • Version Number Alignment: Updated metadata.json's KPlugin block to correctly show 1.2.4 so the About tab displays the actual current release version.
  • Redundant Size Control Elimination: Removed the redundant popupsize cycling ToolButton from the toolbar, as well as unused QML properties and timers, since drag-to-resize...
Read more

v1.3.0

Choose a tag to compare

@racstan racstan released this 21 Jul 13:46

[1.3.0] - 2026-07-21

Added

  • ■ Global TTS Stop Button: Added an interactive global Stop (■) button to the bottom chat status bar during voice generation/playback, allowing instant interruption of text-to-speech.
  • 📚 Streamlined Step-by-Step Setup Guide: Completely redesigned VOICE_SETUP.md with clear distros requirements (Ubuntu, Arch, Fedora, openSUSE) and explicit environment steps.
  • 📸 10-Image Screenshot Gallery: Refactored the README.md to feature 10 newly-updated screenshots displaying settings, task scheduler, voice tools, and system memory monitors.

Fixed

  • 🗣️ Local Voice Mode GPU Support: Fixed a bug where Voice STT/TTS would silently fall back to CPU despite GPU/CUDA libraries being installed. Ensured venv CUDA libs are preloaded before PyTorch checks device availability.
  • ⚠️ Voice Installation Disclaimers: Added time and storage requirement warnings to the setup guide to manage user expectations during machine learning framework installation.

v1.2.9

Choose a tag to compare

@racstan racstan released this 28 May 08:10

KDE AI Chat v1.2.9

🧭 4-Section Interactive Setup Guides

Every major section of the settings panel now has its own dedicated, context-aware interactive guide card that updates in real time:

  • General Guide — Appearance, notification sound, and OpenCode mode tips. Becomes a full OpenCode step-by-step walkthrough when OpenCode is enabled.
  • Provider Guide — Per-provider setup instructions including the exact URL to get your API key, for all 17 providers. Updates live as you change the provider dropdown.
  • API Storage Guide — Placed before the storage mode selector. Explains each mode with precise button-level instructions (which buttons to click and in what order) for Session-only, Plain config, and KWallet.
  • Other Settings Guide — Explains App name, System prompt, Chat storage path (Browse...), and Reset to defaults.

🗄️ Custom Chat History Directory (Beta)

  • Enter any directory path or click Browse... to pick a folder via the native system folder picker.
  • History is saved as kdeaichat_history.json inside the chosen directory. Defaults to ~/.config.
  • Reset to defaults now correctly restores the path.

🔗 17 Providers Fully Supported

All 17 providers are now first-class with complete guide coverage: OpenAI, Anthropic, Groq, DeepSeek, MiniMax, Fireworks AI, Google Gemini, OpenRouter, Mistral, Cloudflare Workers AI, NVIDIA NIM, Hugging Face, xAI (Grok), LM Studio, Local, Ollama, LiteLLM.

🛠️ OpenCode Clean UI

When OpenCode mode is active, all cloud provider credentials and API storage controls are hidden for a focused, clutter-free layout.

📖 README Updated

What's New section updated to v1.2.9 with accurate feature descriptions.

v1.2.8 — Secure credentials, optional system dependency checks, and OpenCode Agent bridge

Choose a tag to compare

@racstan racstan released this 28 May 06:21

KDE AI Chat (v1.2.8)

A premium, highly responsive native AI chat widget (plasmoid) for KDE Plasma 6 and Qt 6 to power your desktop experience with cutting-edge intelligence.


🎥 Feature Demonstration Videos (6-Part Walkthrough)

Want to see the widget in action before installing? We have created a highly detailed 6-part sequential video demonstration showcasing everything from UI fluidities to KWallet setup and OpenCode integration!
👉 Watch the Feature Demonstration Videos on our GitHub Repository


🚀 Key Features:

  • 🔄 Multi-Provider AI Switching: Seamlessly toggle between OpenAI, Claude, DeepSeek, Groq, Gemini, OpenRouter, Mistral, xAI (Grok), NVIDIA NIM, Hugging Face, Cloudflare Workers AI, local LLMs, and OpenCode local-priority models.
  • 🔗 LiteLLM Proxy Support (Beta - New in v1.2.8): Out-of-the-box keyless or keyed connection to any LiteLLM-compatible proxy server (default: http://localhost:4000/v1), enabling unified routing to 100+ LLMs.
  • 🔑 3-Way API Key Storage & Auto-Save (New in v1.2.8): Choose your credentials vault:
    • Session Only (kept purely in-memory and discarded when closed).
    • Plain Config (saved persistently to ~/.config/kdeaichatrc with manual reload/open buttons).
    • Secure KWallet (stored in and loaded from your desktop's secure credentials vault via native DBus).
    • All configurations are automatically persisted as you type—no need to click Apply!
  • 🧹 Always-Visible Clear Chat Utility (New in v1.2.8): Wipes active conversation logs instantly with a single click, always available inside the settings panel.
  • 📎 Multi-Format Document Attachments: Drag-and-drop or copy-paste images, PDFs, CSVs, Word documents, and text files directly into the input bar, supporting prompt-less attachment queries.
  • 🌳 Conversation Forking & Branch Editing: Editing any older user message automatically forks the branch as a fresh request, maintaining clean conversation histories.
  • 🧭 Viewport-Aware Navigation: Jump between user questions instantly via Up/Down navigation buttons that calculate coordinate offsets relative to the active scroll viewport.
  • 📊 Real-time Token Usage & Cost Indicators (Beta): Displays detailed token consumption metrics (input, output, reasoning, cache read/write) and prompt costs on assistant bubbles.
  • ⚡ Ultra-Stable Scrolling: Integrates huge caching and manual scroll direction detection to eliminate scrollbar layout flickering and auto-snap collisions.
  • 🦙 Offline & Local LLM Priority (Ollama & LM Studio): Out-of-the-box, keyless connection to local models. Automatically discovers all downloaded models on your machine via a dynamic Refresh action.
  • 🔍 Real-Time Model Search: Easily search, filter, type, and select models dynamically via a responsive input dropdown.
  • 📂 Session Chat History: Preserves conversation logs locally with secure persistence, featuring dynamic date groupings. Support for renaming, archiving, and deleting threads is built-in.
  • 🛡️ OpenCode Developer Bridge (Beta): Establish a local connection bridge to your OpenCode workspace and interact with the widget just like the OpenCode CLI. If you have MCPs, custom providers, or skills configured in OpenCode, you can utilize them directly here—enabling you to write/debug code, run web searches, and execute complex local developer workflows directly from your Plasma panel (active development).
  • 🎨 Dynamic Theme Adaptability: Pure Kirigami compliance that honors Light/Dark desktop styling or strict custom overrides.
  • 📱 Dynamic Sizing & Auto-Scaling Settings: The settings configuration window dynamically scales and reflows text wrapping perfectly for any screen resolution, monitor layout, or DPI setting. Features a dynamic single-column layout for smaller monitor sizes.

🛠️ Planned Improvements:

  • 📈 Full-fledged custom price config setups for API keys.
  • 📊 Refined layout diagnostics and charting logs for token usage.
  • 🎨 Custom CSS bubble styling themes and custom font support.

📢 Note to Users (Experiencing Issues?):

This is a purely open-source, community-driven project developed with care to enhance your KDE Plasma desktop. If you run into any layout problems, KWallet issues, or connection errors, please let us know by opening an issue on GitHub instead of leaving a low rating!

Low ratings hurt the visibility of open-source projects, whereas bug reports allow us to actively fix the problem for you and the entire community. We are highly active on GitHub and would love to resolve any bugs or integrate your suggestions!


🤝 Bugs & Contributions:

We would love for the community to help make this widget even better. Please note that while the core features are highly polished and fully functional, there may still be occasional bugs in complex workflows. We fully acknowledge this and would love for people to contribute, report issues, or submit pull requests directly to our repository!

  • 💻 How to Contribute / Report Bugs: You can visit our homepage at https://github.com/racstan/KDE-AI-Chat to inspect the source code, watch walkthrough videos, open issues for bug reports, or fork the repository to submit your own custom enhancements. All contributions are welcome!

📥 Quick Manual Installation:

kpackagetool6 --type Plasma/Applet --install org.kde.plasma.kdeaichat-v1.2.8.plasmoid

KDE AI Chat v1.2.7

Choose a tag to compare

@racstan racstan released this 27 May 12:23

What's New in v1.2.7

🗄️ 3-Way API Key Storage

Replaced the old KWallet toggle with a full three-mode selector:

  • Session Only — keys live in memory and are discarded on close
  • Plain Config — keys are saved to ~/.config/kdeaichatrc and auto-loaded on startup
  • Secure KWallet — keys are stored encrypted in the KDE Wallet via DBus

⚡ Configuration Auto-Save

Settings are now persisted automatically as you type — no Apply button required.

🛠️ Settings Panel Utilities

  • Open Config File — opens ~/.config/kdeaichatrc in your default editor
  • Reload from Config — repopulates all API key fields from disk on demand
  • Launch KWallet Manager — opens the KDE Wallet Manager directly
  • Clear Chat — wipes the active conversation from the settings panel

📤 Chat Export

Export any conversation to .md or .txt from the chat toolbar. The save dialog is pre-filled with <chat_title>_<timestamp>.<ext> as the default filename. Exports use UTF-8 encoding with a formatted header.

💬 Right-Aligned User Bubbles

User messages are now right-aligned with distinct styling, mirroring modern messaging interfaces.

🔗 LiteLLM Proxy (17th Provider)

Full support for LiteLLM Proxy (http://localhost:4000/v1 by default). API key is optional. Enables routing to 100+ LLMs through a single unified proxy interface.

🐛 Bug Fixes

  • Base64 serialization for config payloads prevents bash double-quote stripping issues
  • Config file/directory is now guaranteed to exist before xdg-open is called
  • KConfig cache bypass ensures the file on disk always matches UI state
  • Removed duplicate xaiApiKey assignment in applyPlainConfigKeys

📦 Installation

Download the .plasmoid file and install via:

kpackagetool6 --type Plasma/Applet --install org.kde.plasma.kdeaichat-v1.2.7.plasmoid
systemctl --user restart plasma-plasmashell.service

Or install directly from the KDE Store.