Commit Graph
13 Commits
Author SHA1 Message Date
Shivering Ocelot 56e4844992 use agentname in ws actions and frontend 2026-08-30 23:42:23 -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 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 fe596761dc Reimplement replicate inference. Allow model deletion. Implement repetition penalty. Fixes in stream reading. 2026-03-27 20:06:30 -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 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 9b30473c40 Collapsable+resizable sidebar. Standard view header component. 2025-07-20 21:44:20 -05:00
Shivering Ocelot c8b86927e2 rename frontend directory 2025-07-14 16:41:41 -05:00