Commit Graph
84 Commits
Author SHA1 Message Date
Shivering Ocelot 11b5c4e69f feat(frontend): remotes skeleton 2026-09-01 15:56:50 -05:00
Shivering Ocelot 56e4844992 use agentname in ws actions and frontend 2026-08-30 23:42:23 -05:00
Shivering Ocelot 3b2b3507e5 deployment files and script 2026-08-30 17:33:31 -05:00
Shivering Ocelot 6c5140fb92 Fix agent tool support, fix many other bugs 2026-08-23 00:36:37 -05:00
Shivering Ocelot 2b44dcebf4 stabilize app shutdown flow and resource cleanup 2026-06-30 10:59:46 -05:00
Shivering Ocelot 878a09f9e9 finish openrouter tool parsing 2026-06-30 10:58:56 -05:00
Shivering Ocelot c71b0a9642 stabilize async loops 2026-06-22 09:08:59 -05:00
Shivering d934dc0ef7 WIP Stash 2026-06-21 08:52:53 -05:00
Shivering Ocelot 9585008433 wip: add tools to agent control and improve tool class 2026-06-08 05:18:38 -05:00
Shivering Ocelot 6134c026a6 feat(frontend): agent resource sections 2026-06-06 21:56:12 -05:00
Shivering Ocelot a10224d21e upgrade run ui 2026-06-06 16:36:01 -05:00
Shivering Ocelot bb204f2c6c cleanup, future database sketches 2026-06-06 15:03:04 -05:00
Shivering Ocelot e3e910df2c fix: chat agent integration, llama inference bug 2026-06-05 00:05:50 -05:00
Shivering Ocelot 17d3041a60 feat: (WIP) improve openrouter tool parsing and openai tool encoding 2026-06-04 11:27:42 -05:00
Shivering Ocelot 7058cf0771 feat: fix and improve model list ui and features 2026-06-01 13:56:10 -05:00
Shivering Ocelot 9caf057a68 Replace fontawesome with iconoir 2026-05-31 23:18:39 -05:00
Shivering Ocelot 5d2f7609f4 feat: chat stream messages 2026-05-31 22:24:07 -05:00
Shivering Ocelot bc71fa4d59 feat: connect chat and runs, cancellable chat messages, unified frontend runs module 2026-05-31 12:48:06 -05:00
Shivering Ocelot d7e92f38f3 fix: restore and simplify events 2026-05-30 18:28:49 -05:00
Shivering Ocelot 77addb889d feat: task cancellation (wip) 2026-05-30 17:51:49 -05:00
Shivering Ocelot 25b5fbd22a feat: Tortoise ORM migrations 2026-05-30 10:55:31 -05:00
Shivering Ocelot 50cd677515 feat: OpenRouter engine, with OPENROUTER_API_KEY env var 2026-05-30 06:06:34 -05:00
Shivering Ocelot 4e15b44d39 Refactor agent execution to use AgentRun with OpenAI-compatible API
Major refactoring to support isolated run objects with streaming, events, and OpenAI-compatible endpoints.

## Backend Changes

- **Agent class**: Added `run()` method, `received_message()` wraps chat into AgentRun
- **AgentRun class**: New class for run state with event system, serialization, and user tracking
- **inference.py**: Complete refactor with `build_messages()`, `chat_completion()`, tool support for llama-cpp/ollama/replicate
- **tools.py**: New centralized tool management (ToolSpec, ToolParameter, format_tools_for_engine)
- **tools.py**: Removed legacy Toolset/Action/ToolDescription system
- **server.py**: Added OpenAI-compatible `/api/openai/v1/chat/completions` endpoint with streaming support
- **temporary.py**: Added `self.runs` dict to State class
- **expert.py**: Refactored to use new Agent.run() signature
- **scripted.py**: Updated to raise NotImplementedError

## Frontend Changes

- **backend.js**: Added `onRunEvents()` for run event subscriptions
- **Sidebar.vue**: Added runs navigation mode
- **router/index.js**: Renamed User route to RunsView
- **RunsView.vue**: New view for listing/monitoring agent runs

## Breaking Changes

- Agent `prompt()` signature changed: `(instruction, input=None, **kwargs)` instead of `(content)`
- Agent `received_message()` must use AgentRun pattern
- Tools.py removed, functionality moved to tool.py
- Deprecated tool prompt/action system removed
2026-05-25 18:05:17 -05:00
Shivering Ocelot eb9a1ad9e8 Markdown message (half) support 2026-05-03 15:54:42 -05:00
Shivering Ocelot e07f8ee05f Temporary agents and chats 2026-04-16 15:16:03 -05:00
Shivering Ocelot fe596761dc Reimplement replicate inference. Allow model deletion. Implement repetition penalty. Fixes in stream reading. 2026-03-27 20:06:30 -05:00
Shivering Ocelot 26aa137c98 temperature config for expert 2026-01-22 12:24:45 -05:00
Shivering Ocelot 39fa4f1123 llama model cache, a few bugfixes 2026-01-19 02:44:17 -05:00
Shivering Ocelot 7114d91403 streamed messages 2026-01-17 12:11:13 -05:00
Shivering Ocelot f2a6fc0cd5 Llama-cpp inference, database stored models 2026-01-15 15:38:05 -05:00
Shivering Ocelot a3700ca15a some changes 2026-01-09 18:09:30 -05:00
Shivering Ocelot cccdb7d231 Tortoise based database models 2026-01-03 12:41:17 -05:00
Shivering Ocelot 2c7b3d61d1 Ollama 2025-12-31 01:42:39 -05:00
Shivering Ocelot 56deeed52f add qwen inference 2025-12-31 00:51:18 -05:00
Shivering Ocelot 93703a78c1 Qwen support for expert agent 2025-11-11 21:54:22 -05:00
Shivering Ocelot 5be6f4c56a Update PWA metadata 2025-09-21 20:27:53 -05:00
Shivering Ocelot 5efe4f3325 Scripted Agent WIP, only definitions 2025-09-08 13:48:11 -05:00
Shivering Ocelot 13e7c12e75 Add PWA service worker (via vite plugin), use dynamic viewport units for interface size (improves mobile experience), replace default vue homepage with basic info 2025-08-07 20:55:21 -05:00
Shivering Ocelot 2e57bf8c8d Redesign character agent. Still missing memory storage 2025-07-29 11:50:12 -05:00
Shivering Ocelot 9b30473c40 Collapsable+resizable sidebar. Standard view header component. 2025-07-20 21:44:20 -05:00
Shivering Ocelot 69e8614a98 enable chat for expert, custom inference parameters 2025-07-17 21:10:28 -05:00
Shivering Ocelot 7853b71587 Introduce Expert Agent. Prompt agents from UI. 2025-07-17 19:50:14 -05:00
Shivering Ocelot a7cc529e38 display logs 2025-07-17 11:38:20 -05:00
Shivering Ocelot dc9875bcd0 Introduce Character agent, displacing Conversation agent 2025-07-17 10:25:01 -05:00
Shivering Ocelot c93462ec9c ubuntu/python fucking fix 2025-07-14 17:19:13 -05:00
Shivering Ocelot 83e8c8112a install npm dependencies, add last_edit message field 2025-07-14 17:11:56 -05:00
Shivering Ocelot 0dbdb1b5ad move backend source to src 2025-07-14 16:43:27 -05:00
Shivering Ocelot c8b86927e2 rename frontend directory 2025-07-14 16:41:41 -05:00
Shivering Ocelot f870869d47 Delete flutter frontend 2025-07-14 16:32:00 -05:00
Shivering Ocelot 0eab9ac111 Chat message edit, feature parity with flutter interface 2025-07-14 16:11:17 -05:00
Shivering Ocelot 569242b459 Improve agent view styles 2025-07-14 10:47:22 -05:00
Shivering Ocelot 3e06a59f85 Fix missing names in chat 2025-07-14 09:48:44 -05:00
Shivering Ocelot bace4b7136 Chat: threads, notes, better styles 2025-07-13 22:40:15 -05:00
Shivering Ocelot 0f7384cc1d Agent creation and editing support via UI 2025-07-13 03:53:43 -05:00
Shivering Ocelot f8edd01c37 Support creating chats. Add agents in sidebar. Improve chat state management 2025-07-12 19:27:15 -05:00
Shivering Ocelot 73fe8a95d4 Chat View and Sidebar chat list 2025-07-09 22:16:38 -05:00
Shivering Ocelot 5b59d3df75 Initial vue frontend, with only authentication 2025-07-09 17:08:48 -05:00
Shivering Ocelot 396b06b05c Introduce message kinds, and handle them appropriately in user and agent chat 2025-07-08 18:01:46 -05:00
Shivering Ocelot cba41f1e7e message edit/update functionality 2025-07-05 10:44:14 -05:00
Shivering Ocelot cdba31e9f7 move chat app functions to mixin 2025-07-05 06:46:23 -05:00
Shivering Ocelot b907698829 Improve message schema, assign or create main agent chat automatically 2025-07-05 05:51:03 -05:00
Shivering Ocelot 4aa374820c Some improvements to conversation agent 2025-07-04 19:55:57 -05:00
Shivering Ocelot ba48846ba1 show and update agentname/identifier 2025-07-03 16:48:52 -05:00
Shivering Ocelot 6530ff0a24 Agent class description, visible in UI 2025-07-01 21:26:02 -05:00
Shivering Ocelot e9ebb1378a Full memory storing and retrieval for conversation agent. Update gral prompts. Add custom inference model. 2025-06-28 00:59:56 -05:00
Shivering Ocelot 3c3febb92d separate and improve conversation agent 2025-06-27 09:30:36 -05:00
Shivering Ocelot 951ceaa05b Fix various agent-chat bugs, add qdrant dependency, WIP memory processing for conversation agent 2025-06-25 20:40:11 -05:00
Shivering Ocelot e8d80c5495 Chat Threads, ConversationAgent (WIP) 2025-06-16 19:59:37 -05:00
Shivering Ocelot 22fe5619d8 backend: separated agent classes. frontend: chat message context menu (does nothing) 2025-06-01 23:59:38 -05:00
Shivering Ocelot 3f37f727af Stabilize frontend login. Make chat messages multiline. 2025-05-31 13:33:42 -05:00
Shivering Ocelot 5bbdfe8747 Token based authentication 2025-05-28 01:15:46 -05:00
Shivering Ocelot 9a8e68f021 Agent actions and gral function. Need agent classes to separate advanced agent functionality. 2025-05-27 23:51:28 -05:00
Shivering Ocelot c3e55e89f2 Signup screen and functionality 2025-05-26 11:22:31 -05:00
Shivering Ocelot 08f0668997 Full agent admin via API and UI 2025-05-25 18:59:23 -05:00
Shivering Ocelot 5351144edf Advanced chat management via UI 2025-05-22 07:48:36 -05:00
Shivering Ocelot fbee31841d Multiple improvements in authentication functionality 2025-05-21 22:27:35 -05:00
Shivering Ocelot bd5c4e002f Implement basic agent and toolset functionality 2025-05-21 20:18:01 -05:00
Shivering Ocelot 7b3326524e refactor entire frontend 2025-05-14 18:25:50 -05:00
Shivering Ocelot 49df72f2a1 backend: implement agents and connect them with chats 2025-05-12 12:55:50 -05:00
Shivering Ocelot e57e5ba16a implement chat message sending 2025-05-10 21:17:36 -05:00
Shivering Ocelot cbd8452ee5 backend: implement basic functionality in app class. testing: organize and improve javascript test swuite 2025-05-09 09:18:42 -05:00
Shivering Ocelot 44f0b3589c backend: separate App and server, add websocket endpoint, accept data directory command argument. initialize sqlalchemy database and models in new module. frontend: create backend class for managing ws connection, move ui to chat_screen, create scaffold chat and agent classes. 2025-05-06 17:50:57 -05:00
Shivering Ocelot 1e82796db1 Create flutter project in frontend directory. Serve frontend web build in backend app. 2025-05-04 21:26:03 -05:00
Shivering Ocelot 2c1de4924c Basic Quart server in backend directory 2025-05-04 15:40:58 -05:00