refactor: remove retired agent provider integration
This commit is contained in:
+5
-4
@@ -1,7 +1,7 @@
|
||||
# Sybil Server
|
||||
|
||||
Backend API for:
|
||||
- LLM multiplexer (OpenAI Responses / Anthropic / xAI Chat Completions-compatible Grok / Gemini / Hermes Agent)
|
||||
- LLM multiplexer (OpenAI Responses / Anthropic / xAI Chat Completions-compatible Grok / Gemini)
|
||||
- Personal chat database (chats/messages + LLM call log)
|
||||
|
||||
## Stack
|
||||
@@ -18,6 +18,10 @@ npm run dev
|
||||
|
||||
Migrations are applied automatically on server startup (`prisma migrate deploy`).
|
||||
|
||||
Historical provider IDs are stored as strings so retiring an integration does not make saved chats or call logs unreadable. The API validates new requests against the supported provider list and returns `null` for unsupported saved provider selections. These columns remain SQLite `TEXT`; no data rewrite is required.
|
||||
|
||||
Inline Sybil Agent completions identify their response provider as `sybil-agent`. Release native clients that accept this response identity before deploying the server change; older clients that decode completion metadata with the selectable-provider enum cannot decode it. See the [streaming contract](../docs/api/streaming-chat.md).
|
||||
|
||||
Open docs: `http://localhost:8787/docs`
|
||||
|
||||
API contract docs for clients:
|
||||
@@ -44,9 +48,6 @@ If `ADMIN_TOKEN` is not set, the server runs in open mode (dev).
|
||||
- `ANTHROPIC_API_KEY`
|
||||
- `XAI_API_KEY`
|
||||
- `GEMINI_API_KEY`
|
||||
- `HERMES_AGENT_API_BASE_URL` (`http://127.0.0.1:8642/v1` by default; include the `/v1` suffix)
|
||||
- `HERMES_AGENT_API_KEY` (enables the Hermes Agent provider; set to Hermes `API_SERVER_KEY`, or any non-empty value if that local server does not require auth)
|
||||
- `HERMES_AGENT_MODEL` (optional fallback/override model id; defaults client-side to `hermes-agent`)
|
||||
- `EXA_API_KEY`
|
||||
- `BRAVE_SEARCH_API_KEY` (required when `CHAT_WEB_SEARCH_ENGINE=brave`)
|
||||
- `CHAT_WEB_SEARCH_ENGINE` (`exa` by default; `brave` and `searxng` are also supported for chat tool calls only)
|
||||
|
||||
Reference in New Issue
Block a user