Commit Graph
27 Commits
Author SHA1 Message Date
Shivering Ocelot 0dee6a392f feat: send agent prompt -> prompt agent 2026-10-10 12:38:01 -05:00
Shivering Ocelot 9277b5a770 wip: thread revamp 2026-09-23 13:44:22 -05:00
Shivering Ocelot 3283b77ab9 feat: implement drives, backend and frontend 2026-09-22 10:58:08 -05:00
Shivering Ocelot 75e49fcbcd feat: agent app mixin 2026-09-20 19:35:41 -05:00
Shivering Ocelot 248146056a feat: configurable port, use HUB_DATA and HUB_PORT env vars 2026-09-20 17:23:43 -05:00
Shivering Ocelot caeb47be11 feat: new default port 17922 2026-09-18 13:14:08 -05:00
Shivering Ocelot 30afcf2803 feat(chat): support chat resources, implement chat-based remote discovery via resource messages 2026-09-02 16:34:12 -05:00
Shivering Ocelot da1420d04b feat(remotes): full remote walkthrough, complete local remotes with editable functions 2026-09-02 12:33:34 -05:00
Shivering Ocelot 5009a4eb4c feat(backend): full remote implementation, untested 2026-09-02 10:46:51 -05:00
Shivering Ocelot 56e4844992 use agentname in ws actions and frontend 2026-08-30 23:42:23 -05:00
Shivering Ocelot 2b44dcebf4 stabilize app shutdown flow and resource cleanup 2026-06-30 10:59:46 -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 7058cf0771 feat: fix and improve model list ui and features 2026-06-01 13:56:10 -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 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 f2a6fc0cd5 Llama-cpp inference, database stored models 2026-01-15 15:38:05 -05:00
Shivering Ocelot cccdb7d231 Tortoise based database models 2026-01-03 12:41:17 -05:00
Shivering Ocelot 5efe4f3325 Scripted Agent WIP, only definitions 2025-09-08 13:48:11 -05:00
Shivering Ocelot 7853b71587 Introduce Expert Agent. Prompt agents from UI. 2025-07-17 19:50:14 -05:00
Shivering Ocelot dc9875bcd0 Introduce Character agent, displacing Conversation agent 2025-07-17 10:25:01 -05:00
Shivering Ocelot 0dbdb1b5ad move backend source to src 2025-07-14 16:43:27 -05:00