feat: custom OpenAI-compatible endpoint as a first-class provider (vision + context from /models)

This commit is contained in:
Daniel Buckner
2026-10-27 15:48:16 -07:00
parent 8f6fd7cd29
commit 07b6403d94
15 changed files with 965 additions and 41 deletions
+3 -1
View File
@@ -236,7 +236,9 @@ describe("parseCompactionSettingsBody (owner round 14)", () => {
describe("SETTINGS_SECTIONS (the route's section map)", () => {
it("maps exactly the eight record sections", () => {
// compaction joined (owner round 14): its own section PUT — the
// threshold is engine behavior, not an agent-section key.
// threshold is engine behavior, not an agent-section key. The custom
// endpoint is NOT a section: it is one more provider in the Keys list,
// connected through POST /api/custom-provider.
assert.deepEqual(
Object.keys(SETTINGS_SECTIONS),
["general", "chat", "agent", "appearance", "graph", "compaction", "models", "dictation"],