Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

feat(greenference): Greenference as an AI provider, with its own logo

milind-sonic88df7052235
diff --git a/apps/docs/content/docs/security/analytics.mdx b/apps/docs/content/docs/security/analytics.mdx
index a986824f27..97fce084f1 100644
--- a/apps/docs/content/docs/security/analytics.mdx
+++ b/apps/docs/content/docs/security/analytics.mdx
@@ -60,8 +60,8 @@ Properties are counts, `true` or `false`, or words from fixed lists in the app's
| List | Values |
| --- | --- |
-| Key provider | `anthropic`, `openai`, `openrouter`, `openai_compat`, `xai`, `mistral`, `cerebras`, `groq`, `meta`, `boat`, `composio`, `opencode_go`, `custom_endpoint`, `elevenlabs`, `fish_audio`, `jev`, `openrouter_decider`, `openai_image`, `custom_image`, `openai_live`, `onepassword`, `treg`, `postiz` |
-| Engine | `claude`, `codex`, `gemini`, `cursor`, `opencode`, `qwen`, `hermes`, `cline`, `custom_acp`, `pi`, `openai_compat`, `grok`, `grok_api`, `kimi`, `droid`, `antigravity`, `minimax`, `mistral`, `cerebras`, `groq`, `meta`, `muse_code`, `deepseek`, `copilot` |
+| Key provider | `anthropic`, `openai`, `openrouter`, `openai_compat`, `xai`, `mistral`, `cerebras`, `groq`, `greenference`, `meta`, `boat`, `composio`, `opencode_go`, `custom_endpoint`, `elevenlabs`, `fish_audio`, `jev`, `openrouter_decider`, `openai_image`, `custom_image`, `openai_live`, `onepassword`, `treg`, `postiz` |
+| Engine | `claude`, `codex`, `gemini`, `cursor`, `opencode`, `qwen`, `hermes`, `cline`, `custom_acp`, `pi`, `openai_compat`, `grok`, `grok_api`, `kimi`, `droid`, `antigravity`, `minimax`, `mistral`, `cerebras`, `groq`, `greenference`, `meta`, `muse_code`, `deepseek`, `copilot` |
| App | The 24 apps Connected apps lists by default: `slack`, `github`, `gmail`, `googlecalendar`, `googlesheets`, `googledocs`, `googledrive`, `notion`, `linear`, `sentry`, `posthog`, `discord`, `twitter`, `reddit`, `zapier`, `hubspot`, `salesforce`, `jira`, `asana`, `trello`, `dropbox`, `airtable`, `figma`, `stripe`. Every other app is `other`. |
| Starting role | `assistant`, `inbox`, `research`, `coder`, `community`, `ops` |
| Cloud plan | `starter`, `personal`, `pro`, `max` |
diff --git a/docs/agents-tool-bridge.md b/docs/agents-tool-bridge.md
index 5faeb2b441..ed36b162c3 100644
--- a/docs/agents-tool-bridge.md
+++ b/docs/agents-tool-bridge.md
@@ -65,7 +65,7 @@ name can be read by OpenMausBot too:
| Engine | Bridged | Why |
|---|---|---|
| Claude Code | Yes, with the exceptions below | The agents server is pre-allowed as a whole (`--allowedTools mcp__agents`, `server/drivers/claude.ts:1673`), and the settings the CLI reads for the turn are checked. |
-| API models: OpenAI-compatible, Cerebras, Grok API, Groq, Meta, MiniMax, Mistral | Yes | The chat runtime never asks for the agents server (`server/drivers/chat-mcp-tools.ts:371`) and reads no configuration of the person's about a tool. |
+| API models: OpenAI-compatible, Cerebras, Greenference, Grok API, Groq, Meta, MiniMax, Mistral | Yes | The chat runtime never asks for the agents server (`server/drivers/chat-mcp-tools.ts:371`) and reads no configuration of the person's about a tool. |
| Codex, including the ChatGPT plan | No | Codex reads a layered configuration of its own: `config.toml` under `CODEX_HOME` or `~/.codex`, a Company engine's own home under OpenMausBot's data, a trusted project's `.codex/config.toml`, `/etc/codex/config.toml` and `/etc/codex/managed_config.toml`; and it has `PreToolUse` and `PermissionRequest` hooks of its own. Any of these can take a rule about a tool by name, and this version does not examine them. |
| Pi | No | pi is launched with `-e` for OpenMausBot's extension and nothing that keeps the person's own extensions out (`server/drivers/pi.ts`, `PI_ARGS`), in the person's home. Pi loads the extensions it finds there, and an extension's `tool_call` handler can block a call by the name it sees, as OpenMausBot's own does (`server/drivers/pi-mcp-extension.ts`). This version does not examine them. |
| ACP agents: Grok, Kimi, Droid, Cursor, Antigravity, OpenCode, Qwen, Hermes, Cline, Gemini, custom | No | They keep their own permissions. "Always allow this session" hands the agent its own remembered approval ([approval levels](approval-levels.md)); given once for a harmless `use_tool` call it would cover every hidden tool. A reviewer would also lose the read-only marks the hidden reads carry, and Grok has native tools named `use_tool` and `search_tool`. |
diff --git a/docs/analytics.md b/docs/analytics.md
index 3c47c8df18..2df6842662 100644
--- a/docs/analytics.md
+++ b/docs/analytics.md
@@ -56,8 +56,8 @@ Properties are counts, `true` or `false`, or words from fixed lists in the app's
| List | Values |
| --- | --- |
-| Key provider | `anthropic`, `openai`, `openrouter`, `openai_compat`, `xai`, `mistral`, `cerebras`, `groq`, `meta`, `boat`, `composio`, `opencode_go`, `custom_endpoint`, `elevenlabs`, `fish_audio`, `jev`, `openrouter_decider`, `openai_image`, `custom_image`, `openai_live`, `onepassword`, `treg`, `postiz` |
-| Engine | `claude`, `codex`, `gemini`, `cursor`, `opencode`, `qwen`, `hermes`, `cline`, `custom_acp`, `pi`, `openai_compat`, `grok`, `grok_api`, `kimi`, `droid`, `antigravity`, `minimax`, `mistral`, `cerebras`, `groq`, `meta`, `muse_code`, `deepseek`, `copilot` |
+| Key provider | `anthropic`, `openai`, `openrouter`, `openai_compat`, `xai`, `mistral`, `cerebras`, `groq`, `greenference`, `meta`, `boat`, `composio`, `opencode_go`, `custom_endpoint`, `elevenlabs`, `fish_audio`, `jev`, `openrouter_decider`, `openai_image`, `custom_image`, `openai_live`, `onepassword`, `treg`, `postiz` |
+| Engine | `claude`, `codex`, `gemini`, `cursor`, `opencode`, `qwen`, `hermes`, `cline`, `custom_acp`, `pi`, `openai_compat`, `grok`, `grok_api`, `kimi`, `droid`, `antigravity`, `minimax`, `mistral`, `cerebras`, `groq`, `greenference`, `meta`, `muse_code`, `deepseek`, `copilot` |
| App | The 24 apps Connected apps lists by default: `slack`, `github`, `gmail`, `googlecalendar`, `googlesheets`, `googledocs`, `googledrive`, `notion`, `linear`, `sentry`, `posthog`, `discord`, `twitter`, `reddit`, `zapier`, `hubspot`, `salesforce`, `jira`, `asana`, `trello`, `dropbox`, `airtable`, `figma`, `stripe`. Every other app is `other`. |
| Starting role | `assistant`, `inbox`, `research`, `coder`, `community`, `ops` |
| Cloud plan | `starter`, `personal`, `pro`, `max` |
diff --git a/docs/approval-levels.md b/docs/approval-levels.md
index e3d3a7ec8b..9d078f9778 100644
--- a/docs/approval-levels.md
+++ b/docs/approval-levels.md
@@ -61,7 +61,7 @@ one, every approval decision OMB makes in that conversation uses it. How far
that reaches depends on who runs the tools:
- **API engines** (OpenAI-compatible, Grok API, MiniMax, Mistral, Cerebras,
- Groq, Meta): OMB's tool gate reads the level before each tool call, so the
+ Groq, Greenference, Meta): OMB's tool gate reads the level before each tool call, so the
change applies from the next call, up or down.
- **Engines with their own modes** (Codex, Claude, Cursor, Antigravity, Grok
Build, Qwen Code, Gemini CLI, Droid, Pi's custom MCP tools): the engine got
@@ -270,7 +270,7 @@ multi-question card renders its structured form on current apps instead.
| Droid | Session mode `normal` (reads only) | not offered | Ask (no reviewer) | Session mode `auto-high`, plus automatic approval of remaining ACP permission requests |
| Kimi, Hermes, custom ACP agents | The agent's own default | not offered | Ask (no reviewer) | Approve individual ACP permission requests, never task questions |
| Pi | Pi's own tools run; computer control and custom MCP tools ask | not offered | Ask (no reviewer) | Custom MCP tools run without asking; computer-control confirms are approved |
-| API engines (OpenAI-compatible, Grok API, MiniMax, Mistral, Cerebras, Groq, Meta) | OMB's tool gate asks | not offered | Ask (no reviewer) | OMB's tool gate approves each call |
+| API engines (OpenAI-compatible, Grok API, MiniMax, Mistral, Cerebras, Groq, Greenference, Meta) | OMB's tool gate asks | not offered | Ask (no reviewer) | OMB's tool gate approves each call |
These settings apply on each turn, including resumed conversations. Switching
to a different provider while on Custom requires leaving Custom first;
diff --git a/docs/bot-box.md b/docs/bot-box.md
index 58228c95f8..66dc4d5569 100644
--- a/docs/bot-box.md
+++ b/docs/bot-box.md
@@ -81,7 +81,7 @@ Cloudflare Worker answers with 404), anything below it below that address, with
upstream's own. Connected apps (Composio,
HighLevel) were already behind the harness (`/api/internal/connectors/*` with a per-turn bearer) and stay there.
-A key whose CLI takes no base URL from the environment (xAI, Mistral, Groq, Cerebras, MiniMax, Kimi, Cursor, Factory,
+A key whose CLI takes no base URL from the environment (xAI, Mistral, Groq, Greenference, Cerebras, MiniMax, Kimi, Cursor, Factory,
Cline, OpenCode, OpenRouter's own variable) stays raw in that box, and the report names it under `broker.unbrokered`,
so the gap is visible. The self-check adds six broker checks (29 in all): the key is nowhere in the box's environment
or files, the base URL is the broker, a call with the token reaches the upstream with the real key, a wrong token is
diff --git a/docs/headless-cli.md b/docs/headless-cli.md
index 55724db656..37bc8e3fcf 100644
--- a/docs/headless-cli.md
+++ b/docs/headless-cli.md
@@ -196,7 +196,7 @@ openmausbot engine list
```
KIND is `claude`, `openai`, `openrouter`, `openai-compatible` (needs
-`--base-url`), `xai`, `groq`, `mistral` or `cerebras`. The key comes from an
+`--base-url`), `xai`, `groq`, `greenference`, `mistral` or `cerebras`. The key comes from an
environment variable (`--key-env`) or a file (`--key-file`), is written once
through the same setting the Settings screen uses, and is never printed or
read back. An engine that already has a key is left alone unless `--rotate`,
@@ -255,7 +255,7 @@ is the confirmation.
version: 1 # required
engines: # optional; needs full access
claude: { key: SECRET, baseUrl: URL | SECRET, everyClaudeBot: true, install: false }
- openai | openrouter | xai | groq | mistral | cerebras: { key: SECRET }
+ openai | openrouter | xai | groq | greenference | mistral | cerebras: { key: SECRET }
openaiCompatible: { key: SECRET, baseUrl: URL | SECRET }
# SECRET is { env: NAME } or { file: PATH }. A key written in the file is refused.
defaults: BOT FIELDS # every bot gets these unless it sets its own
diff --git a/docs/self-hosting.md b/docs/self-hosting.md
index fbb07e77de..50925ca64f 100644
--- a/docs/self-hosting.md
+++ b/docs/self-hosting.md
@@ -1201,7 +1201,7 @@ The note needs an engine that accepts a message in the middle of a turn
only the stop, and only if you set it. The note and the stop do not cover bots
on API models or turns in a room yet.
-Bots on API models (xAI, Mistral, Groq, Cerebras, Meta, MiniMax or an
+Bots on API models (xAI, Mistral, Groq, Greenference, Cerebras, Meta, MiniMax or an
OpenAI-compatible endpoint) end a turn as failed when a tool call failed and
the bot then answered. With the loop guard on, set `loopGuard.correctiveRounds`
(0-5, default 0) and such a bot is sent back to re-run the failed call up to
diff --git a/docs/verification/engines.md b/docs/verification/engines.md
index d07c0ca576..ea58545ef7 100644
--- a/docs/verification/engines.md
+++ b/docs/verification/engines.md
@@ -67,6 +67,23 @@ Groq model in the bot's picker, send a fixture turn, then clear the key and
confirm the engine is unavailable. Never use the live app or a real key for
this recipe.
+## Greenference API setup
+
+```sh
+pnpm exec vitest run server/drivers/greenference.test.ts server/provider-key-check.test.ts server/credential-request.test.ts src/components/keys/key-catalog.test.ts
+```
+
+These use a local stand-in for `https://llm.eu.greenference.com/v1`. They check
+the preset endpoint, that the server's key never goes to another host, the
+model list (ready models that call tools, short names, image input from
+`input_modalities`), streaming with reasoning and usage, and that a refused key
+never shows in events. Greenference's model list is public, but a wrong key
+gets 401 there, so Settings' Test proves the key. They never call Greenference.
+
+Checked against the live public list on 2026-10-30: 10 models, of which 5 call
+tools (GLM 5.3 Flash, Qwen3.6 27B, Gemma 4 31B, GLM 4.7 Flash, Qwen3 14B), and
+chat without a key answers 401. A real chat turn needs a real key.
+
## Meta Muse: Model API and Muse Code
```sh
diff --git a/electron/diagnostics.mjs b/electron/diagnostics.mjs
index 57d510572a..6773ba2adc 100644
--- a/electron/diagnostics.mjs
+++ b/electron/diagnostics.mjs
@@ -8,6 +8,7 @@ export const CREDENTIAL_ENV_NAMES = [
"MISTRAL_API_KEY",
"CEREBRAS_API_KEY",
"OMB_GROQ_API_KEY",
+ "OMB_GREENFERENCE_API_KEY",
"OMB_META_API_KEY",
"OMB_DEEPSEEK_API_KEY",
"OMB_ANTHROPIC_API_KEY",
diff --git a/scripts/testing/key-readback.e2e.test.ts b/scripts/testing/key-readback.e2e.test.ts
index f42a5e527d..b7cd64f11c 100644
--- a/scripts/testing/key-readback.e2e.test.ts
+++ b/scripts/testing/key-readback.e2e.test.ts
@@ -103,7 +103,7 @@ const saveds = KEY_CATALOG.filter((entry) => entry.target || EXTRA_PATCH[entry.i
it("saves every kind of credential, reads it back and shows it masked to its last four, then removes it", async () => {
setLocale("en");
expect(saveds.map((entry) => entry.id)).toEqual([
- "openai", "anthropic", "xai", "openrouter", "mistral", "cerebras", "groq", "meta", "deepseek", "opencodeGo", "openaiCompat",
+ "openai", "anthropic", "xai", "openrouter", "mistral", "cerebras", "groq", "greenference", "meta", "deepseek", "opencodeGo", "openaiCompat",
"liveKey", "elevenlabs", "fishAudio", "box", "composio", "treg", "postiz", "jev", "openrouterHelper", "workersAi", "imageOpenai", "imageCustom",
]);
for (const storage of ["", "?secretStorage=external"]) {
diff --git a/server/agents-bridge-switch.test.ts b/server/agents-bridge-switch.test.ts
index 119e0120dd..6c46662b62 100644
--- a/server/agents-bridge-switch.test.ts
+++ b/server/agents-bridge-switch.test.ts
@@ -97,7 +97,7 @@ describe("which engines a turn is bridged on", () => {
// and everything else the engine reads about a tool's name can be read too.
it.each([
// the chat-completions runtime, by every driver that runs on it
- ["openai-compat"], ["cerebras"], ["grok"], ["groq"], ["meta"], ["minimax"], ["mistral"],
+ ["openai-compat"], ["cerebras"], ["greenference"], ["grok"], ["groq"], ["meta"], ["minimax"], ["mistral"],
])("bridges %s", (driverKind) => {
expect(engineBridgeRefusal(ON, { driverKind }, {}, HOST)).toBeNull();
expect(agentsToolBridgeEnv(ON, bot, { driverKind }, {})).toEqual(on);
@@ -152,10 +152,10 @@ describe("which engines a turn is bridged on", () => {
it("sorts the default fleet the same way: its Claude and API-model engines, and none of Codex, Pi or its ACP agents", () => {
const fleet = instanceConfigs({});
const bridged = new Set(Object.entries(fleet).filter(([, instance]) => engineBridgeRefusal(ON, turnEngine({ instanceId: "any", driverKind: instance.driver }, { any: instance }, { version: "2.1.232 (Claude Code)" }, CLAUDE.cwd), {}, HOST) === null).map(([id]) => id));
- for (const id of ["claude", "openaiCompat", "mistral", "cerebras", "groq", "meta"]) expect(bridged.has(id), id).toBe(true);
+ for (const id of ["claude", "openaiCompat", "mistral", "cerebras", "groq", "greenference", "meta"]) expect(bridged.has(id), id).toBe(true);
// the default `grok` is the ACP agent, not the API-key driver
for (const id of ["codex", "chatgpt", "pi", "grok", "kimi", "droid", "cursor", "antigravity", "opencodeGo", "museCode", "qwen", "hermes", "cline"]) expect(bridged.has(id), id).toBe(false);
- for (const id of bridged) expect(["claudeAgent", "openai-compat", "cerebras", "grok", "groq", "meta", "minimax", "mistral"], id).toContain(fleet[id]!.driver);
+ for (const id of bridged) expect(["claudeAgent", "openai-compat", "cerebras", "greenference", "grok", "groq", "meta", "minimax", "mistral"], id).toContain(fleet[id]!.driver);
});
describe("Claude Code's exceptions", () => {
diff --git a/server/agents-bridge-switch.ts b/server/agents-bridge-switch.ts
index 801618ab52..a375559aa9 100644
--- a/server/agents-bridge-switch.ts
+++ b/server/agents-bridge-switch.ts
@@ -69,7 +69,7 @@ export interface EngineHost {
managedPolicyFiles: readonly string[];
}
-const CHAT_RUNTIME_DRIVERS: ReadonlySet<string> = new Set(["cerebras", "grok", "groq", "meta", "minimax", "mistral", "openai-compat"]);
+const CHAT_RUNTIME_DRIVERS: ReadonlySet<string> = new Set(["cerebras", "greenference", "grok", "groq", "meta", "minimax", "mistral", "openai-compat"]);
/** Whether text may name the agents server: it contains `mcp__agents` (a server merely starting so counts
* too) or `mcp__` then a wildcard. Security: plain substring tests; no pattern is ever built from config text. */
diff --git a/server/bot-box/broker-env.ts b/server/bot-box/broker-env.ts
index 8657891654..6031b5748d 100644
--- a/server/bot-box/broker-env.ts
+++ b/server/bot-box/broker-env.ts
@@ -29,7 +29,7 @@ export const BROKERED_PROVIDERS: readonly BrokeredProvider[] = [
/** Keys the box would otherwise carry raw: named in the report when present. */
export const UNBROKERED_KEY_ENV: readonly string[] = [
- "XAI_API_KEY", "MISTRAL_API_KEY", "CEREBRAS_API_KEY", "GROQ_API_KEY", "META_API_KEY", "MINIMAX_API_KEY", "KIMI_API_KEY", "MOONSHOT_API_KEY",
+ "XAI_API_KEY", "MISTRAL_API_KEY", "CEREBRAS_API_KEY", "GROQ_API_KEY", "GREENFERENCE_API_KEY", "META_API_KEY", "MINIMAX_API_KEY", "KIMI_API_KEY", "MOONSHOT_API_KEY",
"CURSOR_API_KEY", "CURSOR_AUTH_TOKEN", "FACTORY_API_KEY", "CLINE_API_KEY", "OPENCODE_API_KEY", "OPENROUTER_API_KEY",
];
diff --git a/server/bot-box/env.ts b/server/bot-box/env.ts
index 2ef9237e88..6e82b18e14 100644
--- a/server/bot-box/env.ts
+++ b/server/bot-box/env.ts
@@ -17,7 +17,7 @@ export const BOX_ENV_NAMES: ReadonlySet<string> = new Set([
export const BOX_ENV_PREFIXES: readonly string[] = [
"LC_", "OMB_", "OPENMAUSBOT_", "NPM_CONFIG_", "npm_config_",
"ANTHROPIC_", "CLAUDE_", "CODEX_", "OPENAI_", "OPENCODE_", "OPENROUTER_", "GEMINI_", "GOOGLE_", "GROK_", "XAI_",
- "MISTRAL_", "CEREBRAS_", "GROQ_", "META_", "MINIMAX_", "KIMI_", "MOONSHOT_", "CURSOR_", "FACTORY_", "CLINE_", "HERMES_",
+ "MISTRAL_", "CEREBRAS_", "GROQ_", "GREENFERENCE_", "META_", "MINIMAX_", "KIMI_", "MOONSHOT_", "CURSOR_", "FACTORY_", "CLINE_", "HERMES_",
"MUSE_", "PI_", "DWEB_", "UNSLOTH_", "FAKE_CLAUDE_", "MCP_", "ANTIGRAVITY_", "AGY_",
];
diff --git a/server/cloud-connections.ts b/server/cloud-connections.ts
index 4ff2fcebfe..2124a668bb 100644
--- a/server/cloud-connections.ts
+++ b/server/cloud-connections.ts
@@ -47,7 +47,7 @@ export interface ConnectionListing {
* goes for "Claude (API key)" alone: there it never takes over Claude bots that sign in with a Claude account. */
interface Provider { id: string; label: string; for: string[]; config(cfg: AppConfig): Partial<AppConfig> | null }
-const keyed = (name: "openai" | "openrouter" | "mistral" | "cerebras") => (cfg: AppConfig): Partial<AppConfig> | null => {
+const keyed = (name: "openai" | "openrouter" | "mistral" | "cerebras" | "greenference") => (cfg: AppConfig): Partial<AppConfig> | null => {
const key = cfg[name]?.key;
return key ? { [name]: { key } } : null;
};
@@ -65,6 +65,7 @@ export const KEY_PROVIDERS: readonly Provider[] = [
{ id: "mistral", label: "Mistral", for: ["mistral"], config: keyed("mistral") },
{ id: "cerebras", label: "Cerebras", for: ["cerebras"], config: keyed("cerebras") },
{ id: "groq", label: "Groq", for: ["groq"], config: keyedUrl("groq") },
+ { id: "greenference", label: "Greenference", for: ["greenference"], config: keyed("greenference") },
{ id: "meta", label: "Meta", for: ["meta"], config: keyedUrl("meta") },
{ id: "openaiCompat", label: "OpenAI-compatible", for: ["openaiCompat"], config: (cfg) => cfg.openaiCompat?.key
? { openaiCompat: Object.fromEntries(Object.entries(cfg.openaiCompat).filter(([, value]) => typeof value === "string" && value)) } : null },
diff --git a/server/config.ts b/server/config.ts
index bc0a71a5e2..5a3de103d9 100644
--- a/server/config.ts
+++ b/server/config.ts
@@ -337,6 +337,7 @@ const appConfigSchema = z.object({
mistral: z.object({ key: optionalText }).optional(),
cerebras: z.object({ key: optionalText }).optional(), treg: z.object({ key: optionalText }).optional(), postiz: z.object({ key: optionalText, url: optionalText }).optional(),
groq: z.object({ key: optionalText, url: optionalText }).optional(),
+ greenference: z.object({ key: optionalText }).optional(),
meta: z.object({ key: optionalText, url: optionalText }).optional(),
deepseek: z.object({ key: optionalText }).optional(),
xai: z.object({ key: optionalText, url: optionalText }).optional(),
@@ -486,6 +487,7 @@ export interface AppConfig extends HelperConfig {
mistral?: { key?: string };
cerebras?: { key?: string }; treg?: { key?: string }; /** Postiz: an organisation API key and the server it belongs to (blank: Postiz Cloud). */ postiz?: { key?: string; url?: string };
groq?: { key?: string; url?: string };
+ greenference?: { key?: string };
meta?: { key?: string; url?: string };
/** DeepSeek API key for the DeepSeek Harness engine (`dsh`). */
deepseek?: { key?: string };
@@ -766,19 +768,11 @@ export function loadConfig(): AppConfig {
}
}
// Env wins over the file for every credential: the desktop shell injects them as env at spawn.
- cfg.mistral = { ...cfg.mistral };
- if (process.env.MISTRAL_API_KEY !== undefined) cfg.mistral.key = process.env.MISTRAL_API_KEY;
- cfg.cerebras = { ...cfg.cerebras };
- if (process.env.CEREBRAS_API_KEY !== undefined) cfg.cerebras.key = process.env.CEREBRAS_API_KEY;
+ for (const [name, env] of [["mistral", "MISTRAL_API_KEY"], ["cerebras", "CEREBRAS_API_KEY"], ["groq", "OMB_GROQ_API_KEY"], ["meta", "OMB_META_API_KEY"],
+ ["deepseek", "OMB_DEEPSEEK_API_KEY"], ["greenference", "OMB_GREENFERENCE_API_KEY"], ["xai", "XAI_API_KEY"]] as const) {
+ cfg[name] = { ...cfg[name], ...(process.env[env] !== undefined ? { key: process.env[env] } : {}) };
+ }
if (process.env.OMB_TREG_KEY !== undefined) cfg.treg = { ...cfg.treg, key: process.env.OMB_TREG_KEY }; if (process.env.OMB_POSTIZ_API_KEY !== undefined) cfg.postiz = { ...cfg.postiz, key: process.env.OMB_POSTIZ_API_KEY };
- cfg.groq = { ...cfg.groq };
- if (process.env.OMB_GROQ_API_KEY !== undefined) cfg.groq.key = process.env.OMB_GROQ_API_KEY;
- cfg.meta = { ...cfg.meta };
- if (process.env.OMB_META_API_KEY !== undefined) cfg.meta.key = process.env.OMB_META_API_KEY;
- cfg.deepseek = { ...cfg.deepseek };
- if (process.env.OMB_DEEPSEEK_API_KEY !== undefined) cfg.deepseek.key = process.env.OMB_DEEPSEEK_API_KEY;
- cfg.xai = { ...cfg.xai };
- if (process.env.XAI_API_KEY !== undefined) cfg.xai.key = process.env.XAI_API_KEY;
// Never ANTHROPIC_API_KEY: an operator's stray variable must not move every Claude bot onto API billing.
cfg.anthropic = { ...cfg.anthropic };
if (process.env.OMB_ANTHROPIC_API_KEY !== undefined) cfg.anthropic.key = process.env.OMB_ANTHROPIC_API_KEY;
@@ -844,6 +838,7 @@ export function syncCredentialEnv(patch: Partial<Omit<AppConfig, "threads" | "ne
[patch.mistral?.key, "MISTRAL_API_KEY"],
[patch.cerebras?.key, "CEREBRAS_API_KEY"], [patch.treg?.key, "OMB_TREG_KEY"], [patch.postiz?.key, "OMB_POSTIZ_API_KEY"],
[patch.groq?.key, "OMB_GROQ_API_KEY"],
+ [patch.greenference?.key, "OMB_GREENFERENCE_API_KEY"],
[patch.meta?.key, "OMB_META_API_KEY"],
[patch.deepseek?.key, "OMB_DEEPSEEK_API_KEY"],
[patch.anthropic?.key, "OMB_ANTHROPIC_API_KEY"],
@@ -955,7 +950,7 @@ export function saveConfig(
const before = configSaveListeners.size ? structuredClone(disk) : disk;
const storedProfiles = storedBrowserProfilesSchema.safeParse(disk.browserProfiles);
if (storedProfiles.success) disk.browserProfiles = storedProfiles.data;
- for (const key of ["xai", "anthropic", "mistral", "cerebras", "treg", "postiz", "groq", "meta", "deepseek", "openai", "openrouter", "openaiCompat", "composio", "box", "opencodeGo", "tts", "decider", "imageGen", "live", "profile", "rooms", "mcp", "threads", "context", "memory", "localVm", "features", "budgets", "billing", "decisions", "loopGuard", "onboarding", "browserEngine", "newBots", "safetyFloor"] as const) {
+ for (const key of ["xai", "anthropic", "mistral", "cerebras", "treg", "postiz", "groq", "greenference", "meta", "deepseek", "openai", "openrouter", "openaiCompat", "composio", "box", "opencodeGo", "tts", "decider", "imageGen", "live", "profile", "rooms", "mcp", "threads", "context", "memory", "localVm", "features", "budgets", "billing", "decisions", "loopGuard", "onboarding", "browserEngine", "newBots", "safetyFloor"] as const) {
const section = checkedPatch[key];
if (!section) continue;
const current = jsonObjectSchema.safeParse(disk[key]);
@@ -1150,6 +1145,8 @@ export function instanceOwnsRouting(
return own(entry.environment?.CEREBRAS_API_KEY) || ownUrl("https://api.cerebras.ai/v1");
case "groq":
return own(entry.environment?.GROQ_API_KEY) || ownUrl("https://api.groq.com/openai/v1", cfg.groq?.url);
+ case "greenference":
+ return own(entry.environment?.GREENFERENCE_API_KEY) || ownUrl("https://llm.eu.greenference.com/v1");
case "meta":
return own(entry.environment?.META_API_KEY) || ownUrl("https://api.meta.ai/v1", cfg.meta?.url);
case "deepseekAgent":
@@ -1169,6 +1166,7 @@ function injectedEnvironment(cfg: AppConfig, instanceId: string, driver: string)
if (driver === "mistral" && cfg.mistral?.key) environment.set("MISTRAL_API_KEY", cfg.mistral.key);
if (driver === "cerebras" && cfg.cerebras?.key) environment.set("CEREBRAS_API_KEY", cfg.cerebras.key);
if (driver === "groq" && cfg.groq?.key) environment.set("GROQ_API_KEY", cfg.groq.key);
+ if (driver === "greenference" && cfg.greenference?.key) environment.set("GREENFERENCE_API_KEY", cfg.greenference.key);
if (driver === "meta" && cfg.meta?.key) environment.set("META_API_KEY", cfg.meta.key);
if (driver === "deepseekAgent" && cfg.deepseek?.key) environment.set("DEEPSEEK_API_KEY", cfg.deepseek.key);
if (driver === "grok" && cfg.xai?.key) environment.set("XAI_API_KEY", cfg.xai.key);
diff --git a/server/credential-env.ts b/server/credential-env.ts
index 243a2665c4..a33add7372 100644
--- a/server/credential-env.ts
+++ b/server/credential-env.ts
@@ -7,6 +7,7 @@ export const WORKSPACE_CREDENTIAL_ENV = [
"MISTRAL_API_KEY",
"CEREBRAS_API_KEY",
"OMB_GROQ_API_KEY",
+ "OMB_GREENFERENCE_API_KEY",
"OMB_META_API_KEY",
"OMB_DEEPSEEK_API_KEY",
"OMB_ANTHROPIC_API_KEY",
@@ -70,6 +71,7 @@ export const PROVIDER_CREDENTIAL_ENV = [
"MISTRAL_API_KEY",
"CEREBRAS_API_KEY",
"GROQ_API_KEY",
+ "GREENFERENCE_API_KEY",
"META_API_KEY",
"DEEPSEEK_API_KEY",
"CURSOR_API_KEY",
diff --git a/server/credential-request.test.ts b/server/credential-request.test.ts
index dfc15aaa04..1a2cee5ae9 100644
--- a/server/credential-request.test.ts
+++ b/server/credential-request.test.ts
@@ -29,6 +29,7 @@ const MAPPINGS: Array<[ConfigCredentialTargetId, CredentialConfig]> = [
["mistralApiKey", { mistral: { key: "secret" } }],
["cerebrasApiKey", { cerebras: { key: "secret" } }],
["groqApiKey", { groq: { key: "secret" } }],
+ ["greenferenceApiKey", { greenference: { key: "secret" } }],
["metaApiKey", { meta: { key: "secret" } }],
["deepseekApiKey", { deepseek: { key: "secret" } }],
];
@@ -65,7 +66,7 @@ describe("credential request allowlist", () => {
expect(credentialIsConfigured({ tts: { key: "" } }, "ttsKey")).toBe(false);
expect(credentialIsConfigured({ tts: { fishKey: "secret" } }, "fishAudioKey")).toBe(true);
expect(credentialIsConfigured({ tts: { fishKey: "" } }, "fishAudioKey")).toBe(false);
- expect(Object.keys(CREDENTIAL_TARGETS)).toHaveLength(16);
+ expect(Object.keys(CREDENTIAL_TARGETS)).toHaveLength(17);
});
// The desktop's encrypted store has a slot only for these; a provider key goes to the server's config, as Settings does.
diff --git a/server/drivers/agents-catalog-goldens/bridged.profiles.json b/server/drivers/agents-catalog-goldens/bridged.profiles.json
index 483248ff2b..6dafabebe1 100644
--- a/server/drivers/agents-catalog-goldens/bridged.profiles.json
+++ b/server/drivers/agents-catalog-goldens/bridged.profiles.json
@@ -1,7 +1,7 @@
{
"default": {
- "bytes": 16219,
- "sha256": "b6342860edad76ac868441117dd5cbecd14370045e8b777409ce6897e04de4cc",
+ "bytes": 16240,
+ "sha256": "6c3d40aa0149d57a14d7e8dbe32e9a5d2561d6be2db6b10cbb242332e536f5ee",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -21,8 +21,8 @@
]
},
"voice": {
- "bytes": 17000,
- "sha256": "fbe4c06e1ef42790616b46c63b76dc6a3b0869ab400101ff6ee1da3a8b048e5a",
+ "bytes": 17021,
+ "sha256": "df5ff311f3cf1ad1f24fc7f3e0cd49a786ddcccb9dd233585f4d2a9d5e752578",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -43,8 +43,8 @@
]
},
"shared": {
- "bytes": 16259,
- "sha256": "23eb6b7a4861a49c16a92dbe39d4fe9d32eb11c676448e9f3e9534fdd7942966",
+ "bytes": 16280,
+ "sha256": "1f1028d37b2684770f103b629639ec4211a52d85eecaa5f8197ace0c4d1f0c71",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -64,8 +64,8 @@
]
},
"shared+voice": {
- "bytes": 17040,
- "sha256": "bd2ce7841d94305a55383855d93b6255d161d4f2ca8c5f3d9ee71bfad9309e39",
+ "bytes": 17061,
+ "sha256": "664606ca91be92bdd304a8f4c8b6666962286524609b3c9640945fd6a4c57b80",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -86,8 +86,8 @@
]
},
"skills": {
- "bytes": 16246,
- "sha256": "b881f8a641af369193feaea714633ccc137598baddc4f0e30d304fba4d78b81b",
+ "bytes": 16267,
+ "sha256": "c8fb85ea2d9a8d8d86303baf260f58a8a1d21c7ff050deb4bbf4e752bc18f94c",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -107,8 +107,8 @@
]
},
"skills+voice": {
- "bytes": 17027,
- "sha256": "9ad86bef3561f6b66d38f51b9e5c1179a2bad04e630572a88389474fe1e978c7",
+ "bytes": 17048,
+ "sha256": "b09e76d82fbdaa31eb39867a591ae8dc7100b353e4a0948f647e0433721ff056",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -129,8 +129,8 @@
]
},
"skills+shared": {
- "bytes": 16286,
- "sha256": "066c5248963ebfdbcd7753c49e24dc5cd9e66a3098b06f3a9b7888e74f9ceda9",
+ "bytes": 16307,
+ "sha256": "35eb254cf75e460dca9e81bea312bde5e4eca425d0177f173ef8c9b194ef2482",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -150,8 +150,8 @@
]
},
"skills+shared+voice": {
- "bytes": 17067,
- "sha256": "2a665b45d8aedee1b0dbd2673a3f0352922e669f5c196c6debb0cd180c774733",
+ "bytes": 17088,
+ "sha256": "e636f2aba1393e4496ecbc3b907625ad2d998b7fc308ca6ccb39cfb3c39b4ba3",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -172,8 +172,8 @@
]
},
"non-chief": {
- "bytes": 16102,
- "sha256": "ceb6ca239ae9f831c9901e4dc709d7e4c051ba2771c2c103cf2a548c0451baf3",
+ "bytes": 16123,
+ "sha256": "f2e6b2a15c15607967b91c178766cbd2b5cd55659e8dac79f023ccf6ed749430",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -193,8 +193,8 @@
]
},
"voice+non-chief": {
- "bytes": 16883,
- "sha256": "e6571e8c6cb1bdfe17d8f1c937d7ac248a8d0a9c510c5ec88ab051f757a31c34",
+ "bytes": 16904,
+ "sha256": "1d08f3d7b905d1bffc178fcf96217adcb12dbf9a1b20aaa5bdb6cc0545abde6f",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -215,8 +215,8 @@
]
},
"shared+non-chief": {
- "bytes": 16142,
- "sha256": "943ccdf46519ff34a52b24d77487e84da63a1f911bf5c5d285cf3a5aafd9e815",
+ "bytes": 16163,
+ "sha256": "613705402b9184a3fb0f8affb812ab19dfb3c449a2e12090bfc064d6c5caea78",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -236,8 +236,8 @@
]
},
"shared+voice+non-chief": {
- "bytes": 16923,
- "sha256": "a7f60943aa586b0b78bbf2877f4ad0b94466c33c6a832d02699f9d9523aa2dfd",
+ "bytes": 16944,
+ "sha256": "d0e498ac89d164bbefe107bdc3e572c1e9954b98c3f8570f05f7da3c70cfa69b",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -258,8 +258,8 @@
]
},
"skills+non-chief": {
- "bytes": 16129,
- "sha256": "1d2901f32309994a3ab7567a379beb26790516b2c4e4662bd12cf3923a4ad4f4",
+ "bytes": 16150,
+ "sha256": "cd2ffaef4696b9d023ec345df62a407e0a23a0367cb364f693bd6ebc1e23ec59",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -279,8 +279,8 @@
]
},
"skills+voice+non-chief": {
- "bytes": 16910,
- "sha256": "40e21dac652b1ebf157cb7094fe3af465bfb4546e1c25f1657ed62b470643feb",
+ "bytes": 16931,
+ "sha256": "dcb9b534233befc93124b14f7ae816cde68edbbbfbc3e7302352f7ab84f1f4a3",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -301,8 +301,8 @@
]
},
"skills+shared+non-chief": {
- "bytes": 16169,
- "sha256": "da4038bc15e87ec75655fdf7c239f4096aa28be61e755a532bb4c67970c61abf",
+ "bytes": 16190,
+ "sha256": "62151e9d1e167ff05a0b906ed5f1b4aa74ccca2a822ecf0a4c4369d5b121347c",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -322,8 +322,8 @@
]
},
"skills+shared+voice+non-chief": {
- "bytes": 16950,
- "sha256": "0d467cc48c8c604fa6c4c38b0c3d331bad49322962a9d319c5f2f5622146a792",
+ "bytes": 16971,
+ "sha256": "88e3275c9bc310bdabc907facf3b1f20a94fbf566f84f92f2a7fa68786b04a2c",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -344,8 +344,8 @@
]
},
"skills+shared+voice+cloud-home": {
- "bytes": 17065,
- "sha256": "7f7e1bda99c3837a18451fecf1e5ccdf678eccba3f6961e98f7c564fae7a2c8f",
+ "bytes": 17086,
+ "sha256": "1b86357fe4a39d56f0b6edacd58cdbb952dbafa0cff72b5cce84754bb90ffae4",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -366,8 +366,8 @@
]
},
"skills+shared+voice+non-chief+cloud-home": {
- "bytes": 16948,
- "sha256": "d08915421855a50830f6ffbc12f1f3db7622c8ad3d52fcaf1a02d15c33163a84",
+ "bytes": 16969,
+ "sha256": "837368e336696aeecdc980a1219157a4e38dd4ba5f41b2b2640c34e72fee35ec",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -388,8 +388,8 @@
]
},
"skills+shared+voice+escalations": {
- "bytes": 17085,
- "sha256": "368975e1a6cc444962b7300e2acf5eac4e6b072332edc3b4360c756656b63bf6",
+ "bytes": 17106,
+ "sha256": "504310ca0cb383e1257d3c8c1157a12138dc34c597a8414da9b62cab405ecf97",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -410,8 +410,8 @@
]
},
"skills+shared+voice+escalations+x": {
- "bytes": 17146,
- "sha256": "64867571c8c4b1e09560f8d710f64782ea930575a62693b31b4bf4bedcd4143c",
+ "bytes": 17167,
+ "sha256": "fd2a0e910a58023d508103056b35af9c364f53539c337479eefdbfbc313df3b6",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -432,8 +432,8 @@
]
},
"skills+shared+voice+escalations+x+team": {
- "bytes": 17162,
- "sha256": "46d2483c175db1558322ecf4d7b2846700a4289b048bac30d45c6a70789eca11",
+ "bytes": 17183,
+ "sha256": "48de97f98e3ad45bc843ec1e600ad5f9f5b8a4730762785f015f97d22a2aba45",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -454,8 +454,8 @@
]
},
"default+legacy-switches": {
- "bytes": 16219,
- "sha256": "b6342860edad76ac868441117dd5cbecd14370045e8b777409ce6897e04de4cc",
+ "bytes": 16240,
+ "sha256": "6c3d40aa0149d57a14d7e8dbe32e9a5d2561d6be2db6b10cbb242332e536f5ee",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -475,8 +475,8 @@
]
},
"default+mausbot": {
- "bytes": 16271,
- "sha256": "6bd5b3f77b73ce52f3bd107d8b0503cb55b24d214884a20c1b048e74c9c38833",
+ "bytes": 16292,
+ "sha256": "953953e2fb2563e1d6786d0e5860ec7d1da6dfa6604a349f35cb3423b4a63f44",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -496,8 +496,8 @@
]
},
"skills+shared+voice+mausbot": {
- "bytes": 17119,
- "sha256": "a99702124a5d8e0335ea37a0b6341f7f4497580ca7a11383acf5a19cc3bf986e",
+ "bytes": 17140,
+ "sha256": "20ba2c86f09e669c0a5254a84190122fac279b5d10cbb38a7f6b67d686228328",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -518,8 +518,8 @@
]
},
"default+no-computer-pick": {
- "bytes": 15007,
- "sha256": "26bc46b953d6f4a080713f55902c732252a0e9f508fa8e8d8fe70d9b68d1f83c",
+ "bytes": 15028,
+ "sha256": "972d01f90d83cfd67ee1a818abd6440f657c0cb5736e9c3e34d0b02852aac347",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -538,8 +538,8 @@
]
},
"default+room": {
- "bytes": 14946,
- "sha256": "40feda06098c82e433e94fac5ff8c2ee1c928bf91632f2cd8f2a75456b4d7ac0",
+ "bytes": 14967,
+ "sha256": "e5cc382a13f689f930db5ea45f3c411cda9f06c4f66d6db19cdeb13fc64376e8",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -558,8 +558,8 @@
]
},
"non-chief+room": {
- "bytes": 14829,
- "sha256": "931376492c24023eb73a18f7cca75d484f8a91e7407df116b894298d73f1e07f",
+ "bytes": 14850,
+ "sha256": "be05fa3710172bcc29d45bd4002702a216632fc413218beee4f8494d73b1794c",
"tools": [
"tool_result_read",
"list_room_targets",
diff --git a/server/drivers/agents-catalog-goldens/bridged.tools-list.json b/server/drivers/agents-catalog-goldens/bridged.tools-list.json
index 45ef5e456d..54dd4a97e9 100644
--- a/server/drivers/agents-catalog-goldens/bridged.tools-list.json
+++ b/server/drivers/agents-catalog-goldens/bridged.tools-list.json
@@ -253,6 +253,7 @@
"mistralApiKey",
"cerebrasApiKey",
"groqApiKey",
+ "greenferenceApiKey",
"metaApiKey",
"deepseekApiKey"
]
diff --git a/server/drivers/agents-catalog-goldens/full.tools-list.json b/server/drivers/agents-catalog-goldens/full.tools-list.json
index 2796ffe993..23d99d5231 100644
--- a/server/drivers/agents-catalog-goldens/full.tools-list.json
+++ b/server/drivers/agents-catalog-goldens/full.tools-list.json
@@ -796,6 +796,7 @@
"mistralApiKey",
"cerebrasApiKey",
"groqApiKey",
+ "greenferenceApiKey",
"metaApiKey",
"deepseekApiKey"
]
diff --git a/server/drivers/agents-catalog-goldens/profiles.json b/server/drivers/agents-catalog-goldens/profiles.json
index 173e176c51..f7775fbb7e 100644
--- a/server/drivers/agents-catalog-goldens/profiles.json
+++ b/server/drivers/agents-catalog-goldens/profiles.json
@@ -1,7 +1,7 @@
{
"default": {
- "bytes": 56603,
- "sha256": "d8e72fdc62a507238eaf4c38c51de80bb63530c5520a9899f8c4f6328231a420",
+ "bytes": 56624,
+ "sha256": "e66b25328e2af9b45c980617ed466a492f4aa9b97d675f41f9fe06327617e3fa",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -49,8 +49,8 @@
]
},
"voice": {
- "bytes": 57384,
- "sha256": "fb9a77e6236c217fa417c3cb097baccb8dcbcaac372442c6b008f22e8c984d2f",
+ "bytes": 57405,
+ "sha256": "01f2d2c619bbdaca6054e50ef567f232c58dc9dfa3a7f6b5847ea3a9dc70d84d",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -99,8 +99,8 @@
]
},
"shared": {
- "bytes": 58834,
- "sha256": "52912f0a7118f79e2320993ff74dacc492c9d0a74d7136a97ce9670ca1821e72",
+ "bytes": 58855,
+ "sha256": "cd18a44cda3d213333815dbdc49adb41f6554b5d8f4f616df512e9b2486c2848",
"tools": [
"tool_result_read",
"list_shared_computers",
@@ -150,8 +150,8 @@
]
},
"shared+voice": {
- "bytes": 59615,
- "sha256": "8dcdb1e870dc01d3790967f4bc781300409d62d842a59161dd9164ed18db1709",
+ "bytes": 59636,
+ "sha256": "ec42f87cc1fff8c559d789ace2bfe0305159144833f79651f7fa69d17a699947",
"tools": [
"tool_result_read",
"list_shared_computers",
@@ -202,8 +202,8 @@
]
},
"skills": {
- "bytes": 59422,
- "sha256": "ba5bf5fc4019a9bf9f510dc00042dee9a0cdd3dfad411fa0b1f0c494a192fa10",
+ "bytes": 59443,
+ "sha256": "a6b159bd81b0a97c6254535de48ace743d6003afd47aa294136f282583334a41",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -253,8 +253,8 @@
]
},
"skills+voice": {
- "bytes": 60203,
- "sha256": "3b9eea793b5a10d4d434ab5959008ed968b6a8eb8c2489ecc5a58323d2e2134e",
+ "bytes": 60224,
+ "sha256": "b5f0c3cbcc4f59467218a8b4758e2fafddc47717dbe735795f5f881695416bb6",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -305,8 +305,8 @@
]
},
"skills+shared": {
- "bytes": 61653,
- "sha256": "632f3d69f9a7176837d5b29fe294fd9bdf005454a565ca2a31e8432e908d82dd",
+ "bytes": 61674,
+ "sha256": "4e4f8e380516807ef2a81eee2f2d4eea64eb679490ba6c078334bdcfb7c12b86",
"tools": [
"tool_result_read",
"list_shared_computers",
@@ -358,8 +358,8 @@
]
},
"skills+shared+voice": {
- "bytes": 62434,
- "sha256": "cc33448a6f3d3c5718fcbdb23f7d5352f5722ba0ab670c108b3b27fc0b2d0ac5",
+ "bytes": 62455,
+ "sha256": "d94a3780ca969a304217866a2364f5c3ef140f34996de8dec742449eacf26169",
"tools": [
"tool_result_read",
"list_shared_computers",
@@ -412,8 +412,8 @@
]
},
"non-chief": {
- "bytes": 47546,
- "sha256": "ebad1a241f1df2ddd49937e759fd5882247df9d1b11c6a0afe871572f7ef6bb4",
+ "bytes": 47567,
+ "sha256": "b4e788609224b3218c936cd9fef912b2113e09425ed667b53f51be1db7032ba2",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -454,8 +454,8 @@
]
},
"voice+non-chief": {
- "bytes": 48327,
- "sha256": "c97631a27a0387836a56be1b1203683cc3bacd6a0fadad13bfb4d211460cc623",
+ "bytes": 48348,
+ "sha256": "38f22f6df9e0db390000ba4f6387b3229901449e66d3af3f8f9b3903123e9ebb",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -497,8 +497,8 @@
]
},
"shared+non-chief": {
- "bytes": 49777,
- "sha256": "72df634cba77244219fcc763748a8c9bcf93c3bf219017707b843d4020a95aa7",
+ "bytes": 49798,
+ "sha256": "da9649b9a71c402d8220dad2e95f331ac4fcf7a3b6661361cfa2b94a966abe93",
"tools": [
"tool_result_read",
"list_shared_computers",
@@ -541,8 +541,8 @@
]
},
"shared+voice+non-chief": {
- "bytes": 50558,
- "sha256": "97524774f5a6bf99b2e3c268bfdd97c322e78c1190cf177c814221eb4dad1a54",
+ "bytes": 50579,
+ "sha256": "fd45d1f5608b1f7221956ad7d8d9a8921f20d44ca84faeeae263d6b2aed6807d",
"tools": [
"tool_result_read",
"list_shared_computers",
@@ -586,8 +586,8 @@
]
},
"skills+non-chief": {
- "bytes": 50365,
- "sha256": "58f1ef7281e90fd029aeebea004b3c378a80dcafa91417b43d984012168f9be6",
+ "bytes": 50386,
+ "sha256": "03582f8ced0381de4db6155406de3fcf06fc8258c0d147c7f91dda5a0649721a",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -630,8 +630,8 @@
]
},
"skills+voice+non-chief": {
- "bytes": 51146,
- "sha256": "e50818291aaf240cb20b05eebf49762fb6d61deb1f52d189364cb9203f427f46",
+ "bytes": 51167,
+ "sha256": "cfef5d5bff8977e9bba4c2dd1b8eeb1ac7fa750b348adaf974d6a672e5c80721",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -675,8 +675,8 @@
]
},
"skills+shared+non-chief": {
- "bytes": 52596,
- "sha256": "27ab7f3969305100917e85b33111a9602963c3086ab1f04f6c8cfd004cbc1150",
+ "bytes": 52617,
+ "sha256": "62f05b964a208c51ba3fca8ab311178145aeb14970770ac36b6f6a0250809cf3",
"tools": [
"tool_result_read",
"list_shared_computers",
@@ -721,8 +721,8 @@
]
},
"skills+shared+voice+non-chief": {
- "bytes": 53377,
- "sha256": "53ba24981819445bf5aeff94d3acc15bf3a8b8a1f872ee8bf8ab8cf9ac2ff024",
+ "bytes": 53398,
+ "sha256": "72c9e5511fcb458515ced183a27e620b1c3929e4f6c34a05bc5585b29618a979",
"tools": [
"tool_result_read",
"list_shared_computers",
@@ -768,8 +768,8 @@
]
},
"skills+shared+voice+cloud-home": {
- "bytes": 61515,
- "sha256": "ba4a36e75d68be2c0a1f076a4747e5a64af370a3d841251766db5113c06f9d00",
+ "bytes": 61536,
+ "sha256": "5223baa1cadbc6828e9bb9981904ec7b4c53d4b7948d930b87230b8b1615c516",
"tools": [
"tool_result_read",
"list_shared_computers",
@@ -821,8 +821,8 @@
]
},
"skills+shared+voice+non-chief+cloud-home": {
- "bytes": 52458,
- "sha256": "4a16af8e2b4ccf0d2dd490ea9a3a69fb3c8607c0985f95e24279bb4511ddf83f",
+ "bytes": 52479,
+ "sha256": "5c473710c00a9f36971fed3a6cf66a8189463858d26d4927650a81dd6a5b471e",
"tools": [
"tool_result_read",
"list_shared_computers",
@@ -867,8 +867,8 @@
]
},
"skills+shared+voice+escalations": {
- "bytes": 63264,
- "sha256": "6cb76c45705373d93224e35d46e72217f975f85b903d28b22f7c3843aa4de0ba",
+ "bytes": 63285,
+ "sha256": "d93590f4975fc6c40b6a91116cb15532fca0e2ea0f34cc51a95f9e171ece3236",
"tools": [
"tool_result_read",
"list_shared_computers",
@@ -922,8 +922,8 @@
]
},
"skills+shared+voice+escalations+x": {
- "bytes": 67103,
- "sha256": "b3593b596754115fdb6c5c36fb2821d6300f184d245e38ec39f24bfa4e81c7d6",
+ "bytes": 67124,
+ "sha256": "6075c49d8486e424ac1ebf2c200d7aab9a9d4216357bc88931eb07b01203d0af",
"tools": [
"tool_result_read",
"list_shared_computers",
@@ -981,8 +981,8 @@
]
},
"skills+shared+voice+escalations+x+team": {
- "bytes": 67735,
- "sha256": "a7b038ee51d246c443f453ca855e2e122a9d8ef7d81f0e5746f2c37a36509f99",
+ "bytes": 67756,
+ "sha256": "c87fc05711552cd4fd067ce8c56969aa076bdd2df47564de23ac3576fa421d73",
"tools": [
"tool_result_read",
"list_shared_computers",
@@ -1041,8 +1041,8 @@
]
},
"default+legacy-switches": {
- "bytes": 56603,
- "sha256": "d8e72fdc62a507238eaf4c38c51de80bb63530c5520a9899f8c4f6328231a420",
+ "bytes": 56624,
+ "sha256": "e66b25328e2af9b45c980617ed466a492f4aa9b97d675f41f9fe06327617e3fa",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -1090,8 +1090,8 @@
]
},
"default+mausbot": {
- "bytes": 57254,
- "sha256": "a7949eacefbfe334c363fc2f74b44f1debc363a94c35b1dcbd2b7411dcd855f1",
+ "bytes": 57275,
+ "sha256": "d52b2c15fbb96184184553d400e00402c53aeb0b431cd6e96992d4a43d7bbb82",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -1141,8 +1141,8 @@
]
},
"skills+shared+voice+mausbot": {
- "bytes": 63085,
- "sha256": "32161b823aadcf35600d8f7f6edfb9e36e3b4e75750bb3ef80f730d6a3206d6a",
+ "bytes": 63106,
+ "sha256": "37c4463e026372bb4c16bae7f7d277c27cf2c79863553644e5c19f7307ed5339",
"tools": [
"tool_result_read",
"list_shared_computers",
@@ -1197,8 +1197,8 @@
]
},
"default+no-computer-pick": {
- "bytes": 55391,
- "sha256": "6087e2f1cd72e71f79fa37d778c0ed1145edbfd34c128e9ebaf7686c5cf28727",
+ "bytes": 55412,
+ "sha256": "327f708a442a6e29ef6e0e34c81e1ff89327c4420ad60e126c0fbe93f5340605",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -1245,8 +1245,8 @@
]
},
"default+room": {
- "bytes": 48473,
- "sha256": "6d8fdad9f0a805f6c8c8a4d48fe21060d7910995ee0b7f48a390e6d362b35b6e",
+ "bytes": 48494,
+ "sha256": "d9dde7446473263e481151696b40955653ee9c80fc395f5dba8963f5088db171",
"tools": [
"tool_result_read",
"list_room_targets",
@@ -1288,8 +1288,8 @@
]
},
"non-chief+room": {
- "bytes": 39416,
- "sha256": "6d718ee1a5cd9fd5332f0013e89a6c21592856e0bc21291c5b934466abce53a2",
+ "bytes": 39437,
+ "sha256": "c9e8d8e802b058eb78dfd5b8fe2de4b533b2fe8a4856a24eb49405ee6aa658d5",
"tools": [
"tool_result_read",
"list_room_targets",
diff --git a/server/drivers/agents-catalog-wire.test.ts b/server/drivers/agents-catalog-wire.test.ts
index 109f101848..e4cb898c96 100644
--- a/server/drivers/agents-catalog-wire.test.ts
+++ b/server/drivers/agents-catalog-wire.test.ts
@@ -79,33 +79,33 @@ const FULL = "skills+shared+voice+escalations+x+team";
/** Bytes when the budget was last set; a profile may move at most 2% either way (lower it to lock in a win). */
const BUDGET_BASELINE: Record<string, number> = {
- "default": 55532,
- "voice": 56313,
- "shared": 57763,
- "shared+voice": 58544,
- "skills": 58351,
- "skills+voice": 59132,
- "skills+shared": 60582,
- "skills+shared+voice": 61363,
- "non-chief": 46628,
- "voice+non-chief": 47394,
- "shared+non-chief": 48817,
- "shared+voice+non-chief": 49583,
- "skills+non-chief": 49391,
- "skills+voice+non-chief": 50156,
- "skills+shared+non-chief": 51580,
- "skills+shared+voice+non-chief": 52345,
- "skills+shared+voice+cloud-home": 60444,
- "skills+shared+voice+non-chief+cloud-home": 51445,
- "default+legacy-switches": 55532,
- "default+mausbot": 56183,
- "skills+shared+voice+mausbot": 62014,
- "skills+shared+voice+escalations": 62193,
- "skills+shared+voice+escalations+x": 66032,
- "skills+shared+voice+escalations+x+team": 66664,
- "default+no-computer-pick": 54320,
- "default+room": 48473,
- "non-chief+room": 39416,
+ "default": 56624,
+ "voice": 57405,
+ "shared": 58855,
+ "shared+voice": 59636,
+ "skills": 59443,
+ "skills+voice": 60224,
+ "skills+shared": 61674,
+ "skills+shared+voice": 62455,
+ "non-chief": 47567,
+ "voice+non-chief": 48348,
+ "shared+non-chief": 49798,
+ "shared+voice+non-chief": 50579,
+ "skills+non-chief": 50386,
+ "skills+voice+non-chief": 51167,
+ "skills+shared+non-chief": 52617,
+ "skills+shared+voice+non-chief": 53398,
+ "skills+shared+voice+cloud-home": 61536,
+ "skills+shared+voice+non-chief+cloud-home": 52479,
+ "default+legacy-switches": 56624,
+ "default+mausbot": 57275,
+ "skills+shared+voice+mausbot": 63106,
+ "skills+shared+voice+escalations": 63285,
+ "skills+shared+voice+escalations+x": 67124,
+ "skills+shared+voice+escalations+x+team": 67756,
+ "default+no-computer-pick": 55412,
+ "default+room": 48494,
+ "non-chief+room": 39437,
};
const RPC_PREFIX = '{"jsonrpc":"2.0","id":1,"result":';
diff --git a/server/drivers/builtIn.ts b/server/drivers/builtIn.ts
index 0c87d792a1..1509b28dd1 100644
--- a/server/drivers/builtIn.ts
+++ b/server/drivers/builtIn.ts
@@ -20,6 +20,7 @@ import { PiDriver } from "./pi.ts";
import { MistralDriver } from "./mistral.ts";
import { CerebrasDriver } from "./cerebras.ts";
import { GroqDriver } from "./groq.ts";
+import { GreenferenceDriver } from "./greenference.ts";
import { MetaDriver } from "./meta.ts";
import { MuseCodeDriver } from "./muse-code.ts";
import { MinimaxDriver } from "./minimax.ts";
@@ -46,6 +47,7 @@ export const BUILT_IN_DRIVERS: readonly AnyProviderDriver[] = [
MistralDriver,
CerebrasDriver,
GroqDriver,
+ GreenferenceDriver,
MetaDriver,
MuseCodeDriver,
DeepSeekAgentDriver,
diff --git a/server/drivers/greenference.test.ts b/server/drivers/greenference.test.ts
new file mode 100644
index 0000000000..3561661de5
--- /dev/null
+++ b/server/drivers/greenference.test.ts
@@ -0,0 +1,139 @@
+import { createServer, type Server, type ServerResponse } from "node:http";
+import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
+import type { ProviderInstance } from "../contracts.ts";
+import { recordEvents } from "../testing/events.ts";
+import { GreenferenceDriver } from "./greenference.ts";
+
+type ChatBody = { model: string; messages: Array<Record<string, unknown>>; tools?: unknown[] };
+const fixtureKey = `greenference-fixture-${"a".repeat(40)}`;
+const stream = (res: ServerResponse, chunks: unknown[]) => {
+ res.writeHead(200, { "content-type": "text/event-stream" });
+ res.end(chunks.map(chunk => `data: ${JSON.stringify(chunk)}\n\n`).join("") + "data: [DONE]\n\n");
+};
+
+describe("Greenference provider", () => {
+ let server: Server;
+ let base: string;
+ let models: unknown;
+ let reply: (body: ChatBody, res: ServerResponse) => void;
+ let requests: Array<{ path: string; authorization?: string; body?: ChatBody }>;
+ let instances: ProviderInstance[];
+
+ beforeEach(async () => {
+ vi.stubEnv("GREENFERENCE_API_KEY", "");
+ requests = [];
+ instances = [];
+ models = { data: [{ id: "greenference/glm-5.3-flash", supported_features: ["tools"] }] };
+ reply = (_body, res) => stream(res, [{ choices: [{ delta: { content: "Hello." }, finish_reason: "stop" }] }]);
+ server = createServer(async (req, res) => {
+ const request = { path: req.url ?? "", authorization: req.headers.authorization, body: undefined as ChatBody | undefined };
+ requests.push(request);
+ if (request.path.endsWith("/models")) {
+ res.writeHead(200, { "content-type": "application/json" });
+ res.end(JSON.stringify(models));
+ return;
+ }
+ let text = "";
+ for await (const chunk of req) text += chunk;
+ request.body = JSON.parse(text) as ChatBody;
+ reply(request.body, res);
+ });
+ await new Promise<void>(resolve => server.listen(0, "127.0.0.1", resolve));
+ const address = server.address();
+ if (!address || typeof address === "string") throw new Error("fixture provider address missing");
+ base = `http://127.0.0.1:${address.port}/v1`;
+ });
+
+ afterEach(async () => {
+ await Promise.all(instances.map(instance => instance.dispose()));
+ server.closeAllConnections();
+ await new Promise<void>(resolve => server.close(() => resolve()));
+ vi.unstubAllEnvs();
+ });
+
+ const create = async (config = {}, environment = { GREENFERENCE_API_KEY: fixtureKey }) => {
+ const instance = await GreenferenceDriver.create({ instanceId: "greenference-fixture", displayName: "Greenference", enabled: true,
+ config: GreenferenceDriver.decodeConfig(config), environment });
+ instances.push(instance);
+ return instance;
+ };
+
+ it("presets Greenference's endpoint, rejects unsafe configuration and never sends an unkeyed turn", async () => {
+ expect(GreenferenceDriver.defaultConfig().url).toBe("https://llm.eu.greenference.com/v1");
+ expect(() => GreenferenceDriver.decodeConfig({ url: "http://provider.example.test/v1" })).toThrow("HTTPS");
+ const instance = await create({ url: base }, { GREENFERENCE_API_KEY: "" });
+ const recorder = recordEvents(instance.adapter);
+ try {
+ expect(await instance.snapshot()).toMatchObject({ state: "unavailable", reason: expect.stringContaining("Greenference API key") });
+ await expect(instance.adapter.sendTurn({ threadId: "missing", text: "Hello" })).rejects.toThrow("Greenference API key");
+ expect(requests).toHaveLength(0);
+ } finally { recorder.stop(); }
+ });
+
+ it("does not send the server's Greenference key to a custom instance host", async () => {
+ vi.stubEnv("GREENFERENCE_API_KEY", fixtureKey);
+ const instance = await create({ url: base }, { GREENFERENCE_API_KEY: "" });
+ await instance.refreshModels?.();
+ expect(await instance.snapshot()).toMatchObject({ state: "unavailable" });
+ expect(requests).toHaveLength(0);
+ });
+
+ it("lists ready models that can call tools, by their short names, and keeps the last list after a bad refresh", async () => {
+ models = { data: [
+ { id: "greenference/qwen3.6-27b", name: "Qwen: Qwen3.6 27B", context_length: 262144, supported_features: ["function_calling", "tools"] },
+ { id: "greenference/glm-5.3-flash", name: "Zai Org: GLM 5.3 Flash", context_length: 1048576, input_modalities: ["text", "image"], supported_features: ["tools"] },
+ { id: "greenference/qwen3-8b", name: "Qwen: Qwen3 8B", supported_features: ["json_mode"] },
+ { id: "greenference/warming-up", supported_features: ["tools"], is_ready: false },
+ { id: "greenference/painter", output_modalities: ["image"], supported_features: ["tools"] },
+ { id: "greenference/qwen3.6-27b", supported_features: ["tools"] },
+ null, { id: " " }, { id: "bad-context", context_length: -1 },
+ ] };
+ const instance = await create({ url: base });
+ await instance.refreshModels?.();
+ expect(instance.models).toEqual({ default: "greenference/glm-5.3-flash", options: [
+ { id: "greenference/qwen3.6-27b", label: "Qwen3.6 27B", contextWindow: 262144 },
+ { id: "greenference/glm-5.3-flash", label: "GLM 5.3 Flash", contextWindow: 1048576 },
+ ] });
+ expect(requests.every(request => request.path === "/v1/models" && request.authorization === `Bearer ${fixtureKey}`)).toBe(true);
+ const previous = instance.models;
+ for (const malformed of [null, { data: "wrong" }, { data: [] }, { data: [{ id: "greenference/qwen3-8b", supported_features: ["json_mode"] }] }]) {
+ models = malformed;
+ await instance.refreshModels?.();
+ expect(instance.models).toEqual(previous);
+ }
+ });
+
+ it("streams the selected model with tools, reasoning and usage", async () => {
+ reply = (_body, res) => stream(res, [
+ { choices: [{ delta: { reasoning_content: "Thinking." } }] },
+ { choices: [{ delta: { content: "Hello." }, finish_reason: "stop" }] },
+ { choices: [], usage: { prompt_tokens: 14, completion_tokens: 4 } },
+ ]);
+ const instance = await create({ url: base });
+ const recorder = recordEvents(instance.adapter);
+ try {
+ await instance.adapter.sendTurn({ threadId: "stream", text: "Hello", model: "greenference/glm-5.3-flash" });
+ expect(await recorder.until(event => event.type === "turn.completed")).toMatchObject({ ok: true, usage: { input: 14, output: 4 } });
+ expect(recorder.events.some(event => event.type === "content.delta" && event.streamKind === "reasoning_text" && event.delta === "Thinking.")).toBe(true);
+ expect(instance.adapter.provider).toBe("greenference");
+ const request = requests.find(request => request.path.endsWith("/chat/completions"))!;
+ expect(request.authorization).toBe(`Bearer ${fixtureKey}`);
+ expect(request.body).toMatchObject({ model: "greenference/glm-5.3-flash", stream: true, tools: expect.any(Array) });
+ } finally { recorder.stop(); }
+ });
+
+ it("reports a rejected key without exposing it in canonical errors", async () => {
+ reply = (_body, res) => {
+ res.writeHead(401, { "content-type": "application/json" });
+ res.end(JSON.stringify({ error: { code: "authentication", message: `invalid or expired token ${fixtureKey}` } }));
+ };
+ const instance = await create({ url: base });
+ const recorder = recordEvents(instance.adapter);
+ try {
+ await instance.adapter.sendTurn({ threadId: "rejected", text: "Hello" });
+ expect(await recorder.until(event => event.type === "turn.completed")).toMatchObject({ ok: false });
+ expect(JSON.stringify(recorder.events)).not.toContain(fixtureKey);
+ expect(await instance.snapshot()).toMatchObject({ authenticated: false });
+ } finally { recorder.stop(); }
+ });
+});
diff --git a/server/drivers/greenference.ts b/server/drivers/greenference.ts
new file mode 100644
index 0000000000..cb879a6b80
--- /dev/null
+++ b/server/drivers/greenference.ts
@@ -0,0 +1,124 @@
+import { z } from "zod";
+import type { ModelCatalog, ProviderDriver } from "../contracts.ts";
+import { createOpenAIChatRuntime } from "./openai-chat.ts";
+
+// Chat Completions: https://greenference.com/docs/chat-completions
+const DEFAULT_URL = "https://llm.eu.greenference.com/v1";
+// The tool-calling models in the public catalog on 2026-10-30 (https://greenference.com/docs/models); the live list
+// replaces these once a key is saved.
+const DEFAULT_MODELS: ModelCatalog = {
+ default: "greenference/glm-5.3-flash",
+ options: [
+ { id: "greenference/glm-5.3-flash", label: "GLM 5.3 Flash", contextWindow: 1048576 },
+ { id: "greenference/qwen3.6-27b", label: "Qwen3.6 27B", contextWindow: 262144 },
+ { id: "greenference/gemma-4-31b-it", label: "Gemma 4 31B", contextWindow: 262144 },
+ { id: "greenference/glm-4.7-flash", label: "GLM 4.7 Flash", contextWindow: 131072 },
+ { id: "greenference/qwen3-14b", label: "Qwen3 14B", contextWindow: 41000 },
+ ],
+};
+const DEFAULT_IMAGE_MODELS = ["greenference/glm-5.3-flash"];
+const configSchema = z.object({
+ url: z.string().trim().url().default(DEFAULT_URL),
+ model: z.string().trim().min(1).optional(),
+ tools: z.boolean().optional(),
+});
+type GreenferenceConfig = z.output<typeof configSchema>;
+
+function decodeConfig(raw: unknown): GreenferenceConfig {
+ const config = configSchema.parse(raw ?? {});
+ config.url = config.url.replace(/\/+$/, "");
+ const url = new URL(config.url);
+ if (url.protocol !== "https:" && !(url.protocol === "http:" &&
+ ["localhost", "127.0.0.1", "[::1]"].includes(url.hostname))) {
+ throw new Error("Greenference requires HTTPS, except for a local test endpoint.");
+ }
+ return config;
+}
+
+const modelCard = z.object({
+ id: z.string().trim().min(1),
+ name: z.string().optional(),
+ context_length: z.number().int().positive().optional(),
+ input_modalities: z.array(z.string()).optional(),
+ output_modalities: z.array(z.string()).optional(),
+ supported_features: z.array(z.string()).optional(),
+ is_ready: z.boolean().optional(),
+});
+type ModelCard = z.output<typeof modelCard>;
+
+// A bot's turn always offers tools, so a model that cannot call them is left out of the list.
+const answersBots = (model: ModelCard) => model.is_ready !== false &&
+ (!model.output_modalities || model.output_modalities.includes("text")) &&
+ (!model.supported_features || model.supported_features.some((feature) => feature === "tools" || feature === "function_calling"));
+// The catalog names models "Qwen: Qwen3 14B"; the picker already says Greenference.
+const modelLabel = (model: ModelCard) => model.name?.replace(/^[^:]+:\s*/, "").trim() || model.id;
+
+export const GreenferenceDriver: ProviderDriver<GreenferenceConfig> = {
+ driverKind: "greenference",
+ metadata: { displayName: "Greenference (API)", supportsMultipleInstances: true, access: "api" },
+ models: DEFAULT_MODELS,
+ install: {
+ docsUrl: "https://greenference.com/docs",
+ settings: "connections",
+ signInCommand: "Save a Greenference API key in Settings → API keys, or set GREENFERENCE_API_KEY on the server.",
+ },
+ decodeConfig,
+ defaultConfig: () => decodeConfig({}),
+ async create(input) {
+ const { config } = input;
+ // A custom host must bring its own credential; the workspace key goes only to Greenference.
+ const apiKey = (input.environment.GREENFERENCE_API_KEY ??
+ (config.url === DEFAULT_URL ? process.env.GREENFERENCE_API_KEY : undefined) ?? "").trim();
+ const withConfiguredModel = (options: ModelCatalog["options"]): ModelCatalog => {
+ const preferred = config.model ?? DEFAULT_MODELS.default;
+ if (config.model && !options.some((option) => option.id === config.model)) {
+ options = [{ id: config.model, label: config.model }, ...options];
+ }
+ return { default: options.some((option) => option.id === preferred) ? preferred : options[0].id, options };
+ };
+ let catalog = withConfiguredModel(DEFAULT_MODELS.options);
+ let imageModels = new Set(DEFAULT_IMAGE_MODELS);
+ const refreshModels = async () => {
+ if (!apiKey) return;
+ try {
+ // The list is public; with the key it also has the account's own models.
+ const response = await fetch(`${config.url}/models`, {
+ headers: { authorization: `Bearer ${apiKey}` }, redirect: "error",
+ signal: AbortSignal.timeout(8_000),
+ });
+ if (!response.ok) return;
+ const rows = z.object({ data: z.array(z.unknown()) }).parse(await response.json()).data;
+ const options: ModelCatalog["options"] = [];
+ const images = new Set<string>();
+ for (const row of rows) {
+ const parsed = modelCard.safeParse(row);
+ if (!parsed.success || !answersBots(parsed.data) || options.some((option) => option.id === parsed.data.id)) continue;
+ const model = parsed.data;
+ options.push({ id: model.id, label: modelLabel(model), ...(model.context_length ? { contextWindow: model.context_length } : {}) });
+ if (model.input_modalities?.includes("image")) images.add(model.id);
+ }
+ if (options.length) {
+ catalog = withConfiguredModel(options);
+ imageModels = images;
+ }
+ } catch {}
+ };
+ if (apiKey) void refreshModels();
+ return createOpenAIChatRuntime({
+ input, driverKind: "greenference", apiKey, apiUrl: config.url,
+ tools: config.tools, models: () => catalog, refreshModels, reasoning: true,
+ computerUse: true, imageInput: (model) => imageModels.has(model),
+ nudgeAnnouncedAction: true,
+ requestBody: (model, messages, stream) => ({ model, messages, stream }),
+ httpErrorLabel: "Greenference",
+ missingKeyError: "Save a Greenference API key in Settings → API keys, or set GREENFERENCE_API_KEY.",
+ unavailableReason: "No Greenference API key — open Settings → API keys.",
+ timeoutMs: 180_000, billing: "metered", includeUsageInCompleted: true,
+ nativeLog: {
+ source: "greenference.chat.completions",
+ outgoing: (_turn, messages, model) => ({ model, messageCount: messages.length }),
+ incoming: ({ text, reasoning, usage }) => ({ textLength: text.length, reasoningLength: reasoning.length, usage }),
+ },
+ });
+ },
+};
diff --git a/server/headless/engine.test.ts b/server/headless/engine.test.ts
index 8329a476ac..b8753d03fc 100644
--- a/server/headless/engine.test.ts
+++ b/server/headless/engine.test.ts
@@ -142,7 +142,7 @@ describe("engine list", () => {
it("shows each engine and which keys are set, never their values", async () => {
const w = workspace({ configured: { anthropic: true }, available: ["claude"] });
const listed = await w.run(["engine", "list", "--json"]);
- expect(JSON.parse(listed.out).keys).toEqual({ claude: true, openai: false, openrouter: false, "openai-compatible": false, xai: false, groq: false, mistral: false, cerebras: false });
+ expect(JSON.parse(listed.out).keys).toEqual({ claude: true, openai: false, openrouter: false, "openai-compatible": false, xai: false, groq: false, greenference: false, mistral: false, cerebras: false });
const human = await w.run(["engine", "list"]);
expect(human.out).toContain("claude · claudeAgent · available");
expect(human.out).toContain("Keys set: claude");
diff --git a/server/headless/engine.ts b/server/headless/engine.ts
index 2e0ea29fa0..a4d3f7761e 100644
--- a/server/headless/engine.ts
+++ b/server/headless/engine.ts
@@ -14,6 +14,7 @@ export const ENGINE_KINDS: Record<string, { config: string; instance: string; ap
"openai-compatible": { config: "openaiCompat", instance: "openaiCompat", baseUrl: "required" },
xai: { config: "xai", instance: "xaiApi", baseUrl: "allowed" },
groq: { config: "groq", instance: "groq", baseUrl: "allowed" },
+ greenference: { config: "greenference", instance: "greenference", baseUrl: "no" },
mistral: { config: "mistral", instance: "mistral", baseUrl: "no" },
cerebras: { config: "cerebras", instance: "cerebras", baseUrl: "no" },
};
diff --git a/server/headless/main.ts b/server/headless/main.ts
index f71f3b78bb..d3f9698581 100644
--- a/server/headless/main.ts
+++ b/server/headless/main.ts
@@ -67,7 +67,7 @@ export const VERB_HELP: Record<string, string> = {
"team export": "openmausbot team export [--team NAME]… --out FILE\n Write the workspace (or some teams) as a team file; skills go beside it, keys as placeholders,\n and a key written into a soul, brief or skill is taken out.",
engine: "openmausbot engine set KIND … | engine list (see help engine set)",
"engine set": `openmausbot engine set KIND (--key-env VAR | --key-file FILE) [--base-url URL] [--only-claude-api] [--install] [--rotate] [--dry-run]
- Give the workspace an engine key: claude, openai, openrouter, openai-compatible, xai, groq, mistral or cerebras.
+ Give the workspace an engine key: claude, openai, openrouter, openai-compatible, xai, groq, greenference, mistral or cerebras.
The key is never printed. One already set is kept unless --rotate. --install installs the engine's
command if it is not running already, so a script can run this on every start.
claude: the key runs every Claude bot; --only-claude-api keeps it to "Claude (API key)" bots.`,
diff --git a/server/headless/team-file.ts b/server/headless/team-file.ts
index f66fe84974..a391ef6914 100644
--- a/server/headless/team-file.ts
+++ b/server/headless/team-file.ts
@@ -28,6 +28,7 @@ const enginesSchema = z.object({
openrouter: keyOnly.optional(),
xai: keyOnly.optional(),
groq: keyOnly.optional(),
+ greenference: keyOnly.optional(),
mistral: keyOnly.optional(),
cerebras: keyOnly.optional(),
openaiCompatible: z.object({ key: secret, baseUrl: z.union([url, secret]) }).strict().optional(),
@@ -114,7 +115,7 @@ export interface TeamFile {
}
const ENGINE_KIND: Record<string, string> = {
- claude: "claude", openai: "openai", openrouter: "openrouter", xai: "xai", groq: "groq", mistral: "mistral", cerebras: "cerebras",
+ claude: "claude", openai: "openai", openrouter: "openrouter", xai: "xai", groq: "groq", greenference: "greenference", mistral: "mistral", cerebras: "cerebras",
openaiCompatible: "openai-compatible",
};
diff --git a/server/index.ts b/server/index.ts
index 392727bcd8..1df8f1cbc6 100644
--- a/server/index.ts
+++ b/server/index.ts
@@ -11868,7 +11868,7 @@ function configStatus() {
xai: keyStatus(cfg.xai?.key),
mistral: keyStatus(cfg.mistral?.key),
cerebras: keyStatus(cfg.cerebras?.key),
- groq: keyStatus(cfg.groq?.key),
+ groq: keyStatus(cfg.groq?.key), greenference: keyStatus(cfg.greenference?.key),
meta: keyStatus(cfg.meta?.key), deepseek: keyStatus(cfg.deepseek?.key),
xResearch: xResearchStatus(), treg: keyStatus(cfg.treg?.key), postiz: { ...keyStatus(cfg.postiz?.key), ...(cfg.postiz?.url ? { url: cfg.postiz.url } : {}) },
anthropic: { ...keyStatus(cfg.anthropic?.key), everyClaudeBot: cfg.anthropic?.everyClaudeBot !== false },
diff --git a/server/instance-fleets.ts b/server/instance-fleets.ts
index fc02e06358..f7cddb197f 100644
--- a/server/instance-fleets.ts
+++ b/server/instance-fleets.ts
@@ -39,6 +39,7 @@ export const DEFAULT_FLEET: InstanceConfigMap = {
mistral: { driver: "mistral" },
cerebras: { driver: "cerebras" },
groq: { driver: "groq" },
+ greenference: { driver: "greenference" },
meta: { driver: "meta" },
deepseek: { driver: "deepseekAgent" },
museCode: { driver: "museCode" },
@@ -65,6 +66,7 @@ export const PRODUCT_FLEET_ADDITIONS = {
mistral: { driver: "mistral" },
cerebras: { driver: "cerebras" },
groq: { driver: "groq" },
+ greenference: { driver: "greenference" },
meta: { driver: "meta" },
deepseek: { driver: "deepseekAgent" },
museCode: { driver: "museCode" },
diff --git a/server/provider-key-check.test.ts b/server/provider-key-check.test.ts
index e517958bec..9f6002641e 100644
--- a/server/provider-key-check.test.ts
+++ b/server/provider-key-check.test.ts
@@ -133,6 +133,20 @@ describe("provider key check", () => {
.toEqual({ ok: false, reason: "rejected", status: 401 });
});
+ // Its /models answers without a key, but a wrong key gets 401 (checked 2026-10-30), so a key's own list proves it.
+ it("checks Greenference at its preset endpoint", async () => {
+ const greenference: typeof fetch = async (input, init) => {
+ expect(String(input)).toBe("https://llm.eu.greenference.com/v1/models");
+ expect(new Headers(init?.headers).get("authorization")).toBe("Bearer fixture-greenference");
+ expect(init?.redirect).toBe("manual");
+ return Response.json({ object: "list", data: [{ id: "greenference/glm-5.3-flash" }] });
+ };
+ expect(await checkProviderKey({ provider: "greenference", key: "fixture-greenference" }, greenference))
+ .toEqual({ ok: true, check: "models", models: ["greenference/glm-5.3-flash"] });
+ const refused: typeof fetch = async () => Response.json({ error: { code: "authentication", message: "invalid or expired token" } }, { status: 401 });
+ expect(await checkProviderKey({ provider: "greenference", key: "bad-key" }, refused)).toEqual({ ok: false, reason: "rejected", status: 401 });
+ });
+
it("checks Meta at its preset endpoint without claiming chat authentication", async () => {
const meta: typeof fetch = async (input, init) => {
expect(String(input)).toBe("https://api.meta.ai/v1/models");
diff --git a/server/provider-key-check.ts b/server/provider-key-check.ts
index 39c48fb8be..5d9172eec1 100644
--- a/server/provider-key-check.ts
+++ b/server/provider-key-check.ts
@@ -1,12 +1,12 @@
// OpenRouter's catalog is public, so /key proves the key there; elsewhere /models proves only catalog access. Keys go only over TLS (or loopback).
-export type ProviderKeyKind = "anthropic" | "openai" | "openrouter" | "openaiCompat" | "xai" | "mistral" | "cerebras" | "groq" | "meta";
+export type ProviderKeyKind = "anthropic" | "openai" | "openrouter" | "openaiCompat" | "xai" | "mistral" | "cerebras" | "groq" | "greenference" | "meta";
export type ProviderKeyVerdict =
/** `freeTier`: OpenRouter's /key says the account never bought credit, so paid models refuse it. */
| { ok: true; check: "authentication" | "models"; models: string[]; freeTier?: boolean }
| { ok: false; reason: "rejected" | "unreachable" | "unexpected"; status?: number };
-export const PROVIDER_KEY_KINDS: readonly ProviderKeyKind[] = ["anthropic", "openai", "openrouter", "openaiCompat", "xai", "mistral", "cerebras", "groq", "meta"];
+export const PROVIDER_KEY_KINDS: readonly ProviderKeyKind[] = ["anthropic", "openai", "openrouter", "openaiCompat", "xai", "mistral", "cerebras", "groq", "greenference", "meta"];
const DEFAULT_URLS: Record<ProviderKeyKind, string> = {
anthropic: "https://api.anthropic.com",
@@ -17,6 +17,7 @@ const DEFAULT_URLS: Record<ProviderKeyKind, string> = {
mistral: "https://api.mistral.ai/v1",
cerebras: "https://api.cerebras.ai/v1",
groq: "https://api.groq.com/openai/v1",
+ greenference: "https://llm.eu.greenference.com/v1",
meta: "https://api.meta.ai/v1",
};
diff --git a/server/routes/config.ts b/server/routes/config.ts
index 7c3a3531f0..c14e71de29 100644
--- a/server/routes/config.ts
+++ b/server/routes/config.ts
@@ -118,7 +118,7 @@ export function createConfigRoutes(deps: ConfigRouteDeps): RouteHandler {
}
if ((method === "PUT" || method === "PATCH") && path === "/api/config") {
const body = await readBody(req);
- if (hostedModels && ["instances", "anthropic", "openai", "openrouter", "openaiCompat", "xai", "mistral", "cerebras", "groq", "meta", "opencodeGo"].some(key => Object.hasOwn(body, key))) return json(res, 403, { error: HOSTED_PROVIDER_SETTINGS_ERROR });
+ if (hostedModels && ["instances", "anthropic", "openai", "openrouter", "openaiCompat", "xai", "mistral", "cerebras", "groq", "greenference", "meta", "opencodeGo"].some(key => Object.hasOwn(body, key))) return json(res, 403, { error: HOSTED_PROVIDER_SETTINGS_ERROR });
const patch = parseConfigPatch(body);
if (patch.profile && ownProfile) {
// The address is the verified claim's; a profile names no other.
diff --git a/server/routes/instances.ts b/server/routes/instances.ts
index 52493d4c6d..95def43450 100644
--- a/server/routes/instances.ts
+++ b/server/routes/instances.ts
@@ -324,8 +324,8 @@ export function createInstanceRoutes(deps: InstanceRouteDeps): RouteHandler {
return json(res, 400, { error: "Account settings are available for Claude and ChatGPT accounts only." });
}
if (body.tools !== undefined) {
- if (!["openai-compat", "grok", "minimax", "mistral", "cerebras", "groq", "meta"].includes(entry.driver)) {
- return json(res, 400, { error: "The tools setting is available for OpenAI-compatible, Grok API, MiniMax API, Mistral API, Cerebras API, Groq API and Meta API instances only." });
+ if (!["openai-compat", "grok", "minimax", "mistral", "cerebras", "groq", "greenference", "meta"].includes(entry.driver)) {
+ return json(res, 400, { error: "The tools setting is available for OpenAI-compatible, Grok API, MiniMax API, Mistral API, Cerebras API, Groq API, Greenference API and Meta API instances only." });
}
entry.config = { ...entry.config as Record<string, unknown>, tools: body.tools };
}
diff --git a/server/routes/status.ts b/server/routes/status.ts
index f11f379567..121a0a3984 100644
--- a/server/routes/status.ts
+++ b/server/routes/status.ts
@@ -154,7 +154,7 @@ export function createStatusRoutes(deps: StatusRouteDeps): RouteHandler {
return json(res, 400, { error: `provider must be one of ${PROVIDER_KEY_KINDS.join(", ")}` });
}
const kind = provider as ProviderKeyKind;
- const saved = { anthropic: cfg.anthropic, openai: cfg.openai, openrouter: cfg.openrouter, openaiCompat: cfg.openaiCompat, mistral: cfg.mistral, cerebras: cfg.cerebras, groq: cfg.groq, meta: cfg.meta, xai: cfg.xai }[kind];
+ const saved = { anthropic: cfg.anthropic, openai: cfg.openai, openrouter: cfg.openrouter, openaiCompat: cfg.openaiCompat, mistral: cfg.mistral, cerebras: cfg.cerebras, groq: cfg.groq, greenference: cfg.greenference, meta: cfg.meta, xai: cfg.xai }[kind];
if (body?.key !== undefined && typeof body.key !== "string") {
return json(res, 400, { error: "key must be a string" });
}
diff --git a/server/runtime/capabilities.test.ts b/server/runtime/capabilities.test.ts
index 4a573d64cb..ee20220370 100644
--- a/server/runtime/capabilities.test.ts
+++ b/server/runtime/capabilities.test.ts
@@ -34,6 +34,7 @@ const EXPECTED: Record<string, EngineCapabilities> = {
mistral: chat,
cerebras: chat,
groq: chat,
+ greenference: chat,
meta: chat,
};
diff --git a/server/runtime/capabilities.ts b/server/runtime/capabilities.ts
index 65301a6ca6..6e03336eda 100644
--- a/server/runtime/capabilities.ts
+++ b/server/runtime/capabilities.ts
@@ -41,6 +41,7 @@ const ENGINES: Readonly<Record<string, EngineRow>> = {
mistral: CHAT_ROW,
cerebras: CHAT_ROW,
groq: CHAT_ROW,
+ greenference: CHAT_ROW,
meta: CHAT_ROW,
};
diff --git a/server/usage-trace/recorder.ts b/server/usage-trace/recorder.ts
index 125bef0171..b2f3bec250 100644
--- a/server/usage-trace/recorder.ts
+++ b/server/usage-trace/recorder.ts
@@ -87,7 +87,7 @@ const EXPECT_TTL_MS = 60_000;
/** Claude reports each model call; Codex a thread's running total; the OpenAI-style chat engines a turn's running total. */
const PER_CALL = new Set(["claude"]);
const THREAD_TOTALS = new Set(["codex"]);
-const TURN_TOTALS = new Set(["grok", "groq", "cerebras", "mistral", "minimax", "meta", "openai-compat"]);
+const TURN_TOTALS = new Set(["grok", "groq", "greenference", "cerebras", "mistral", "minimax", "meta", "openai-compat"]);
const MAX_LINKS = 5_000;
const ENDED_GRACE_MS = 120_000;
const RECEIPT_SLACK_MS = 3_000;
diff --git a/server/workspace.ts b/server/workspace.ts
index b0a24cc386..df0da60433 100644
--- a/server/workspace.ts
+++ b/server/workspace.ts
@@ -14,7 +14,7 @@ export const WORKSPACES_DIR = join(DATA_DIR, "workspaces");
export const TASK_WORKSPACES_DIR = join(DATA_DIR, "task-workspaces");
export function supportsWorkspaceFiles(driverKind: string): boolean {
- return !["grok", "openai-compat", "minimax", "mistral", "cerebras", "groq", "meta"].includes(driverKind);
+ return !["grok", "openai-compat", "minimax", "mistral", "cerebras", "groq", "greenference", "meta"].includes(driverKind);
}
/** Directory organization, not a shell sandbox. */
diff --git a/shared/credential-request.ts b/shared/credential-request.ts
index 0c7e612172..edc27019fb 100644
--- a/shared/credential-request.ts
+++ b/shared/credential-request.ts
@@ -88,6 +88,12 @@ export const CREDENTIAL_TARGETS = {
placeholder: "gsk_…",
helpUrl: "https://console.groq.com/keys",
},
+ greenferenceApiKey: {
+ label: "Greenference API key",
+ description: "Runs Greenference models with your own key.",
+ placeholder: "Paste your Greenference API key",
+ helpUrl: "https://greenference.com/dashboard/tokens",
+ },
metaApiKey: {
label: "Meta API key",
description: "Runs Meta's models with your own key.",
@@ -108,7 +114,7 @@ export type LoginCredentialTargetId = "onePasswordToken";
export type ConfigCredentialTargetId = Exclude<CredentialTargetId, LoginCredentialTargetId>;
/** AI provider keys: the server's config only, like Settings → Keys, and refused where Admin manages the models. */
export const PROVIDER_CREDENTIAL_TARGETS = [
- "openaiApiKey", "anthropicApiKey", "openrouterApiKey", "mistralApiKey", "cerebrasApiKey", "groqApiKey", "metaApiKey", "deepseekApiKey",
+ "openaiApiKey", "anthropicApiKey", "openrouterApiKey", "mistralApiKey", "cerebrasApiKey", "groqApiKey", "greenferenceApiKey", "metaApiKey", "deepseekApiKey",
] as const satisfies readonly ConfigCredentialTargetId[];
export type DesktopCredentialSlot = Exclude<ConfigCredentialTargetId, (typeof PROVIDER_CREDENTIAL_TARGETS)[number]>;
export type CredentialConfig = {
@@ -124,6 +130,7 @@ export type CredentialConfig = {
mistral?: { key?: string };
cerebras?: { key?: string };
groq?: { key?: string };
+ greenference?: { key?: string };
meta?: { key?: string };
deepseek?: { key?: string };
/** Not in the settings file: the server fills it from its login store. */
@@ -191,6 +198,8 @@ export function credentialConfigPatch(id: ConfigCredentialTargetId, value: strin
return { cerebras: { key: value } };
case "groqApiKey":
return { groq: { key: value } };
+ case "greenferenceApiKey":
+ return { greenference: { key: value } };
case "metaApiKey":
return { meta: { key: value } };
case "deepseekApiKey":
@@ -228,6 +237,8 @@ export function credentialIsConfigured(config: CredentialConfig, id: CredentialT
return Boolean(config.cerebras?.key);
case "groqApiKey":
return Boolean(config.groq?.key);
+ case "greenferenceApiKey":
+ return Boolean(config.greenference?.key);
case "metaApiKey":
return Boolean(config.meta?.key);
case "deepseekApiKey":
diff --git a/shared/tool-scope-support.ts b/shared/tool-scope-support.ts
index 10996adf93..73bb0b4857 100644
--- a/shared/tool-scope-support.ts
+++ b/shared/tool-scope-support.ts
@@ -3,7 +3,7 @@ import { narrowsNativeTools, parseToolScope, type ToolScope } from "./tool-scope
/** Native contracts and app-supplied MCP gates are separate capabilities. */
export const TOOL_SCOPE_SUPPORT = {
grok: "native-and-mcp", grokAgent: "native-and-mcp", piAgent: "native-and-mcp",
- "openai-compat": "native-and-mcp", mistral: "native-and-mcp", minimax: "native-and-mcp", cerebras: "native-and-mcp", groq: "native-and-mcp", meta: "native-and-mcp",
+ "openai-compat": "native-and-mcp", mistral: "native-and-mcp", minimax: "native-and-mcp", cerebras: "native-and-mcp", groq: "native-and-mcp", greenference: "native-and-mcp", meta: "native-and-mcp",
claudeAgent: "mcp", codex: "mcp", geminiAgent: "mcp", kimiAgent: "mcp", droidAgent: "mcp",
cursorAgent: "mcp", opencodeGo: "mcp", qwenAgent: "mcp", hermesAgent: "mcp", clineAgent: "mcp", copilotAgent: "mcp", deepseekAgent: "mcp", customAcp: "mcp", antigravityAgent: "mcp", museCode: "mcp",
} as const;
diff --git a/src/components/EngineLibrary.tsx b/src/components/EngineLibrary.tsx
index de6a4a6ad4..18e7daf4bd 100644
--- a/src/components/EngineLibrary.tsx
+++ b/src/components/EngineLibrary.tsx
@@ -17,7 +17,7 @@ const providers: Record<string, string> = {
claudeAgent: "Anthropic", codex: "OpenAI", grok: "xAI", grokAgent: "xAI",
kimiAgent: "Moonshot AI", droidAgent: "Factory", cursorAgent: "Cursor",
antigravityAgent: "Google", opencodeGo: "OpenCode", qwenAgent: "Qwen",
- hermesAgent: "Nous Research", clineAgent: "Cline", copilotAgent: "GitHub", piAgent: "pi.dev", mistral: "Mistral AI", cerebras: "Cerebras", groq: "Groq", meta: "Meta", museCode: "Meta", deepseekAgent: "DeepSeek",
+ hermesAgent: "Nous Research", clineAgent: "Cline", copilotAgent: "GitHub", piAgent: "pi.dev", mistral: "Mistral AI", cerebras: "Cerebras", groq: "Groq", greenference: "Greenference", meta: "Meta", museCode: "Meta", deepseekAgent: "DeepSeek",
};
export function providerName(instance: InstanceInfo): string {
diff --git a/src/components/ProviderIcons.tsx b/src/components/ProviderIcons.tsx
index b412ebd81a..1ffefe5f14 100644
--- a/src/components/ProviderIcons.tsx
+++ b/src/components/ProviderIcons.tsx
@@ -127,6 +127,14 @@ export function CopilotMark({ size = 16, className }: IconProps) {
return <svg width={size} height={size} viewBox="0 0 24 24" className={className} aria-hidden="true"><path fill="var(--color-ink)" d="M23.922 16.997C23.061 18.492 18.063 22.02 12 22.02 5.937 22.02.939 18.492.078 16.997A.641.641 0 0 1 0 16.741v-2.869a.883.883 0 0 1 .053-.22c.372-.935 1.347-2.292 2.605-2.656.167-.429.414-1.055.644-1.517a10.098 10.098 0 0 1-.052-1.086c0-1.331.282-2.499 1.132-3.368.397-.406.89-.717 1.474-.952C7.255 2.937 9.248 1.98 11.978 1.98c2.731 0 4.767.957 6.166 2.093.584.235 1.077.546 1.474.952.85.869 1.132 2.037 1.132 3.368 0 .368-.014.733-.052 1.086.23.462.477 1.088.644 1.517 1.258.364 2.233 1.721 2.605 2.656a.841.841 0 0 1 .053.22v2.869a.641.641 0 0 1-.078.256Zm-11.75-5.992h-.344a4.359 4.359 0 0 1-.355.508c-.77.947-1.918 1.492-3.508 1.492-1.725 0-2.989-.359-3.782-1.259a2.137 2.137 0 0 1-.085-.104L4 11.746v6.585c1.435.779 4.514 2.179 8 2.179 3.486 0 6.565-1.4 8-2.179v-6.585l-.098-.104s-.033.045-.085.104c-.793.9-2.057 1.259-3.782 1.259-1.59 0-2.738-.545-3.508-1.492a4.359 4.359 0 0 1-.355-.508Zm2.328 3.25c.549 0 1 .451 1 1v2c0 .549-.451 1-1 1-.549 0-1-.451-1-1v-2c0-.549.451-1 1-1Zm-5 0c.549 0 1 .451 1 1v2c0 .549-.451 1-1 1-.549 0-1-.451-1-1v-2c0-.549.451-1 1-1Zm3.313-6.185c.136 1.057.403 1.913.878 2.497.442.544 1.134.938 2.344.938 1.573 0 2.292-.337 2.657-.751.384-.435.558-1.15.558-2.361 0-1.14-.243-1.847-.705-2.319-.477-.488-1.319-.862-2.824-1.025-1.487-.161-2.192.138-2.533.529-.269.307-.437.808-.438 1.578v.021c0 .265.021.562.063.893Zm-1.626 0c.042-.331.063-.628.063-.894v-.02c-.001-.77-.169-1.271-.438-1.578-.341-.391-1.046-.69-2.533-.529-1.505.163-2.347.537-2.824 1.025-.462.472-.705 1.179-.705 2.319 0 1.211.175 1.926.558 2.361.365.414 1.084.751 2.657.751 1.21 0 1.902-.394 2.344-.938.475-.584.742-1.44.878-2.497Z" /></svg>;
}
+export function GreenferenceMark({ size = 16, className }: IconProps) {
+ // Greenference's site icon (greenference.com/assets/favicon.svg) without its tile, in a teal from its logo that reads on light and dark.
+ return <svg width={size} height={size} viewBox="4 2 24 24" className={className} aria-hidden="true">
+ <path stroke="#407A84" strokeWidth={1.7} d="M16 16V7M16 16l-8 5M16 16l8 5" />
+ <g fill="#407A84"><circle cx="16" cy="7" r="2.4" /><circle cx="8" cy="21" r="2.4" /><circle cx="24" cy="21" r="2.4" /><circle cx="16" cy="16" r="3.8" /></g>
+ </svg>;
+}
+
export function ProviderMark({ driverKind, size, className }: IconProps & { driverKind: string }) {
switch (driverKind) {
case "grok":
@@ -161,6 +169,8 @@ export function ProviderMark({ driverKind, size, className }: IconProps & { driv
return <PiMark size={size} className={className} />;
case "copilotAgent":
return <CopilotMark size={size} className={className} />;
+ case "greenference":
+ return <GreenferenceMark size={size} className={className} />;
default:
return (
<span className={cn("flex size-full items-center justify-center text-[10px] font-semibold tracking-tight text-ink-secondary", className)}>
diff --git a/src/components/SettingsModal.tsx b/src/components/SettingsModal.tsx
index 9b08818dc1..5ed8b85a55 100644
--- a/src/components/SettingsModal.tsx
+++ b/src/components/SettingsModal.tsx
@@ -87,7 +87,7 @@ export const SECTIONS: Array<{
{ id: "appearance", group: "you", labelKey: "settings.section.appearance", icon: Palette, keywords: ["skin", "theme", "appearance", "chat width", "width", "wide", "full width", "bubble", "bubbles", "tools", "tool calls", "threads", "show threads", "hide threads", "sidebar", "density", "compact", "comfortable", "avatars", "display", "run", "this run", "run card", "commands", "notifications", "sound", "sounds", "mute", "silent", "chime", "pinned", "circles", "universal", "groups", "top", "send", "enter", "return", "shift+enter", "ctrl+enter", "cmd+enter", "⌘+enter", "new line", "keyboard", "ime", "japanese", "message color", "my messages", "toolbar", "tools layout", "footer", "routines", "triggers", "team map", "color", "colour", "cloud color", "server color", "tint", "sidebar color", "sidebar picture", "picture", "image", "banner", "background", "computers", "your computers", "rail", "strip"] },
{ id: "companion", group: "you", labelKey: "settings.section.companion", icon: TabletSmartphone, keywords: ["companion", "device", "phone", "desktop", "client", "host", "pair", "pairing", "mobile", "https", "secure", "tailscale", "wifi", "remote", "advanced", "domain", "dns", "self-hosted", "server", "caddy"] },
{ id: "engines", group: "ai", labelKey: "settings.section.engines", icon: Terminal, keywords: ["models", "model providers", "engines", "claude", "codex", "grok", "providers", "cli", "sign in", "subscription"] },
- { id: "connections", group: "ai", labelKey: "settings.section.connections", icon: KeyRound, keywords: ["keys", "api", "api key", "api keys", "connections", "composio", "box", "xai", "mistral", "cerebras", "meta", "muse", "vps", "router", "openrouter", "base url", "openai", "anthropic", "groq", "opencode", "deepseek", "provider", "lm studio", "lmstudio", "llm studio", "llmstudio", "bionic"] },
+ { id: "connections", group: "ai", labelKey: "settings.section.connections", icon: KeyRound, keywords: ["keys", "api", "api key", "api keys", "connections", "composio", "box", "xai", "mistral", "cerebras", "meta", "muse", "vps", "router", "openrouter", "base url", "openai", "anthropic", "groq", "greenference", "opencode", "deepseek", "provider", "lm studio", "lmstudio", "llm studio", "llmstudio", "bionic"] },
{ id: "decisionModel", group: "ai", labelKey: "settings.section.decisionModel", icon: Zap, keywords: ["decision", "extraction", "jev", "typesafe", "cloudflare", "workers ai", "clef", "clairic", "email", "routing", "auto", "rooms", "who answers"] },
{ id: "skills", group: "ai", labelKey: "settings.section.skills", icon: BookOpen, keywords: ["skills", "library", "assign", "agent skills", "skill md"] },
{ id: "desktopWorkspaces", group: "computers", labelKey: "settings.section.desktopWorkspaces", icon: Building2, keywords: ["workspace", "cloud", "hosted", "vps", "server", "servers", "connect", "pair", "switch", "local"] },
diff --git a/src/components/keys/key-catalog.test.ts b/src/components/keys/key-catalog.test.ts
index ffbfd37f88..75ce311c9c 100644
--- a/src/components/keys/key-catalog.test.ts
+++ b/src/components/keys/key-catalog.test.ts
@@ -57,7 +57,7 @@ describe("every credential has one home on the keys page", () => {
xaiApiKey: "xai", boxToken: "box", opencodeGoApiKey: "opencodeGo", ttsKey: "elevenlabs", fishAudioKey: "fishAudio",
openaiImageApiKey: "imageOpenai", onePasswordToken: "onePassword", composioApiKey: "composio", openaiApiKey: "openai",
anthropicApiKey: "anthropic", openrouterApiKey: "openrouter", mistralApiKey: "mistral", cerebrasApiKey: "cerebras", groqApiKey: "groq",
- metaApiKey: "meta", deepseekApiKey: "deepseek",
+ greenferenceApiKey: "greenference", metaApiKey: "meta", deepseekApiKey: "deepseek",
};
expect(Object.keys(homes).sort()).toEqual(Object.keys(CREDENTIAL_TARGETS).sort());
for (const [name, id] of Object.entries(homes) as Array<[keyof typeof CREDENTIAL_TARGETS, KeyId]>) {
diff --git a/src/components/keys/key-catalog.ts b/src/components/keys/key-catalog.ts
index c943410ec7..f30d8ff150 100644
--- a/src/components/keys/key-catalog.ts
+++ b/src/components/keys/key-catalog.ts
@@ -17,7 +17,7 @@ export const KEY_SECTIONS: ReadonlyArray<{ id: KeySectionId; titleKey: LocaleKey
{ id: "helpers", titleKey: "keys.section.helpers", purposeKey: "keys.section.helpers.purpose" },
];
-export type TestableProvider = "anthropic" | "openai" | "openrouter" | "openaiCompat" | "xai" | "mistral" | "cerebras" | "groq" | "meta" | "treg";
+export type TestableProvider = "anthropic" | "openai" | "openrouter" | "openaiCompat" | "xai" | "mistral" | "cerebras" | "groq" | "greenference" | "meta" | "treg";
export type DesktopSlot = Parameters<NonNullable<NonNullable<Window["ogb"]>["setCredential"]>>[0];
@@ -39,7 +39,7 @@ export interface KeyTarget {
}
export type KeyId =
- | "openai" | "anthropic" | "xai" | "openrouter" | "mistral" | "cerebras" | "groq" | "meta" | "deepseek" | "opencodeGo" | "opencodeProviders"
+ | "openai" | "anthropic" | "xai" | "openrouter" | "mistral" | "cerebras" | "groq" | "greenference" | "meta" | "deepseek" | "opencodeGo" | "opencodeProviders"
| "lmStudio" | "openaiCompat" | "liveCalls" | "liveKey" | "elevenlabs" | "fishAudio" | "box" | "vps" | "onePassword" | "composio" | "treg" | "postiz"
| "jev" | "openrouterHelper" | "workersAi" | "imageOpenai" | "imageCustom";
@@ -66,7 +66,7 @@ function flag(saved: SavedKey | undefined): SavedState {
return { configured: saved?.configured === true, ...(saved?.configured && saved.last4 ? { last4: saved.last4 } : {}) };
}
-type TopLevelKey = "openai" | "openrouter" | "xai" | "mistral" | "cerebras" | "groq" | "meta" | "deepseek" | "treg";
+type TopLevelKey = "openai" | "openrouter" | "xai" | "mistral" | "cerebras" | "groq" | "greenference" | "meta" | "deepseek" | "treg";
function providerKey(name: TopLevelKey, rest: Omit<KeyTarget, "patch" | "saved">): KeyTarget {
return { patch: (value) => ({ [name]: { key: value } }), saved: (config) => flag(config[name]), ...rest };
@@ -98,6 +98,9 @@ export const KEY_CATALOG: readonly KeyEntry[] = [
{ id: "groq", section: "ai", labelKey: "keys.groq.label", purposeKey: "keys.purpose.groq", name: "Groq", env: ["OMB_GROQ_API_KEY"],
words: ["groq", "fast"], mark: provider("groq"), kind: "key",
target: providerKey("groq", { placeholder: "gsk_…", href: "https://console.groq.com/keys", test: "groq", analytics: "groq", shape: /^gsk_/ }) },
+ { id: "greenference", section: "ai", labelKey: "keys.greenference.label", purposeKey: "keys.purpose.greenference", name: "Greenference", env: ["OMB_GREENFERENCE_API_KEY"],
+ words: ["greenference", "green", "open models"], mark: provider("greenference"), kind: "key",
+ target: providerKey("greenference", { placeholder: "…", placeholderKey: "keys.greenference.placeholder", href: "https://greenference.com/dashboard/tokens", test: "greenference", analytics: "greenference" }) },
{ id: "meta", section: "ai", labelKey: "keys.meta.label", purposeKey: "keys.purpose.meta", name: "Meta", env: ["OMB_META_API_KEY"],
words: ["meta", "muse", "llama"], mark: provider("meta", "meta"), kind: "key",
target: providerKey("meta", { placeholder: "LLM|…", href: "https://dev.meta.ai/docs/authentication", test: "meta", analytics: "meta", shape: /^LLM\|/ }) },
@@ -215,7 +218,7 @@ export function looksLikeOtherKey(entry: KeyEntry, value: string): KeyEntry | nu
const INSTANCE_KEYS: Readonly<Record<string, KeyId>> = {
openai: "openai", claudeApi: "anthropic", xaiApi: "xai", grok: "xai", openrouter: "openrouter", mistral: "mistral", cerebras: "cerebras",
- groq: "groq", meta: "meta", deepseek: "deepseek", opencodeGo: "opencodeGo", openaiCompat: "openaiCompat",
+ groq: "groq", greenference: "greenference", meta: "meta", deepseek: "deepseek", opencodeGo: "opencodeGo", openaiCompat: "openaiCompat",
};
export function keyForInstance(instanceId: string | undefined): KeyId | undefined {
diff --git a/src/components/provider-mark-fade.ts b/src/components/provider-mark-fade.ts
index 28abc4ac79..fe9659777f 100644
--- a/src/components/provider-mark-fade.ts
+++ b/src/components/provider-mark-fade.ts
@@ -2,7 +2,7 @@ import type { InstanceInfo } from "@/state/store";
export type ProviderMarkTone = "brand" | "mono";
-const BRAND_DRIVERS: ReadonlySet<string> = new Set(["claudeAgent", "mistral", "meta", "museCode", "kimiAgent", "qwenAgent", "deepseekAgent"]);
+const BRAND_DRIVERS: ReadonlySet<string> = new Set(["claudeAgent", "mistral", "meta", "museCode", "kimiAgent", "qwenAgent", "deepseekAgent", "greenference"]);
const MONO_PRESETS: ReadonlySet<string> = new Set(["openai", "xai"]);
export function providerMarkTone(instance: Pick<InstanceInfo, "driverKind" | "icon">): ProviderMarkTone {
diff --git a/src/lib/analytics-allowlist.test.ts b/src/lib/analytics-allowlist.test.ts
index 75fc2d1b22..dcdbab176c 100644
--- a/src/lib/analytics-allowlist.test.ts
+++ b/src/lib/analytics-allowlist.test.ts
@@ -76,7 +76,7 @@ describe("app, role and key lists", () => {
const rows = Object.fromEntries(KEY_CATALOG.flatMap((entry) => entry.target ? [[entry.id, entry.target.analytics]] : []));
expect(rows).toEqual({
openai: "openai", anthropic: "anthropic", xai: "xai", openrouter: "openrouter", mistral: "mistral", cerebras: "cerebras", groq: "groq",
- meta: "meta", deepseek: "deepseek", opencodeGo: "opencode_go", openaiCompat: "openai_compat", liveKey: "openai_live",
+ greenference: "greenference", meta: "meta", deepseek: "deepseek", opencodeGo: "opencode_go", openaiCompat: "openai_compat", liveKey: "openai_live",
elevenlabs: "elevenlabs", fishAudio: "fish_audio", box: "boat", composio: "composio", treg: "treg", jev: "jev",
openrouterHelper: "openrouter_decider", imageOpenai: "openai_image", postiz: "postiz",
});
@@ -88,7 +88,7 @@ describe("app, role and key lists", () => {
boxToken: "boat", xaiApiKey: "xai", opencodeGoApiKey: "opencode_go", ttsKey: "elevenlabs", fishAudioKey: "fish_audio",
openaiImageApiKey: "openai_image",
onePasswordToken: "onepassword", composioApiKey: "composio", openaiApiKey: "openai", anthropicApiKey: "anthropic",
- openrouterApiKey: "openrouter", mistralApiKey: "mistral", cerebrasApiKey: "cerebras", groqApiKey: "groq", metaApiKey: "meta",
+ openrouterApiKey: "openrouter", mistralApiKey: "mistral", cerebrasApiKey: "cerebras", groqApiKey: "groq", greenferenceApiKey: "greenference", metaApiKey: "meta",
deepseekApiKey: "deepseek",
};
expect(Object.keys(expected).sort()).toEqual(Object.keys(CREDENTIAL_TARGETS).sort());
diff --git a/src/lib/analytics-allowlist.ts b/src/lib/analytics-allowlist.ts
index ac340ea1f7..0844c8f77d 100644
--- a/src/lib/analytics-allowlist.ts
+++ b/src/lib/analytics-allowlist.ts
@@ -13,7 +13,7 @@ export function allow<const T extends string>(value: unknown, list: readonly T[]
}
export const KEY_PROVIDER = [
- "anthropic", "openai", "openrouter", "openai_compat", "xai", "mistral", "cerebras", "groq", "meta", "boat", "composio",
+ "anthropic", "openai", "openrouter", "openai_compat", "xai", "mistral", "cerebras", "groq", "greenference", "meta", "boat", "composio",
"opencode_go", "custom_endpoint", "elevenlabs", "fish_audio", "jev", "openrouter_decider", "openai_image", "custom_image",
"openai_live", "onepassword", "treg", "deepseek", "postiz",
] as const;
@@ -23,7 +23,7 @@ const CREDENTIAL_PROVIDER = new Map<string, KeyProvider>(Object.entries({
boxToken: "boat", xaiApiKey: "xai", opencodeGoApiKey: "opencode_go", ttsKey: "elevenlabs", fishAudioKey: "fish_audio",
openaiImageApiKey: "openai_image", onePasswordToken: "onepassword", composioApiKey: "composio", openaiApiKey: "openai",
anthropicApiKey: "anthropic", openrouterApiKey: "openrouter", mistralApiKey: "mistral", cerebrasApiKey: "cerebras", groqApiKey: "groq",
- metaApiKey: "meta", deepseekApiKey: "deepseek",
+ greenferenceApiKey: "greenference", metaApiKey: "meta", deepseekApiKey: "deepseek",
} satisfies Record<CredentialTargetId, KeyProvider>));
export function credentialProvider(target: unknown): KeyProvider | "other" {
@@ -32,7 +32,7 @@ export function credentialProvider(target: unknown): KeyProvider | "other" {
export const ENGINE = [
"claude", "codex", "gemini", "cursor", "opencode", "qwen", "hermes", "cline", "custom_acp", "pi", "openai_compat", "grok",
- "grok_api", "kimi", "droid", "antigravity", "minimax", "mistral", "cerebras", "groq", "meta", "muse_code", "deepseek", "copilot",
+ "grok_api", "kimi", "droid", "antigravity", "minimax", "mistral", "cerebras", "groq", "greenference", "meta", "muse_code", "deepseek", "copilot",
] as const;
export type Engine = (typeof ENGINE)[number];
@@ -40,7 +40,7 @@ const ENGINE_BY_DRIVER = new Map<string, Engine>(Object.entries({
claudeAgent: "claude", codex: "codex", geminiAgent: "gemini", cursorAgent: "cursor", opencodeGo: "opencode",
qwenAgent: "qwen", hermesAgent: "hermes", clineAgent: "cline", customAcp: "custom_acp", piAgent: "pi",
"openai-compat": "openai_compat", grokAgent: "grok", grok: "grok_api", kimiAgent: "kimi", droidAgent: "droid",
- antigravityAgent: "antigravity", minimax: "minimax", mistral: "mistral", cerebras: "cerebras", groq: "groq",
+ antigravityAgent: "antigravity", minimax: "minimax", mistral: "mistral", cerebras: "cerebras", groq: "groq", greenference: "greenference",
meta: "meta", museCode: "muse_code", deepseekAgent: "deepseek", copilotAgent: "copilot",
} satisfies Record<string, Engine>));
diff --git a/src/lib/built-in-instances.ts b/src/lib/built-in-instances.ts
index 4d188da17a..dfc64e341a 100644
--- a/src/lib/built-in-instances.ts
+++ b/src/lib/built-in-instances.ts
@@ -2,7 +2,7 @@
export const BUILT_IN_INSTANCE_DRIVERS: Readonly<Record<string, string>> = {
grok: "grokAgent", kimi: "kimiAgent", droid: "droidAgent", cursor: "cursorAgent", githubCopilot: "copilotAgent", claude: "claudeAgent", codex: "codex",
chatgpt: "codex", antigravity: "antigravityAgent", opencodeGo: "opencodeGo", openaiCompat: "openai-compat",
- mistral: "mistral", cerebras: "cerebras", groq: "groq", meta: "meta", museCode: "museCode", deepseek: "deepseekAgent", openai: "openai-compat",
+ mistral: "mistral", cerebras: "cerebras", groq: "groq", greenference: "greenference", meta: "meta", museCode: "museCode", deepseek: "deepseekAgent", openai: "openai-compat",
claudeApi: "claudeAgent", xaiApi: "grok", openrouter: "openai-compat", qwen: "qwenAgent", hermes: "hermesAgent",
cline: "clineAgent", pi: "piAgent", gemini: "geminiAgent",
};
diff --git a/src/lib/usage-snapshot.ts b/src/lib/usage-snapshot.ts
index 7275480766..c42db24d74 100644
--- a/src/lib/usage-snapshot.ts
+++ b/src/lib/usage-snapshot.ts
@@ -53,6 +53,7 @@ function keyProviders(config: ConfigStatus): KeyProvider[] {
[config.mistral?.configured, "mistral"],
[config.cerebras?.configured, "cerebras"],
[config.groq?.configured, "groq"],
+ [config.greenference?.configured, "greenference"],
[config.meta?.configured, "meta"],
[config.box?.configured && config.box.included !== true, "boat"],
[config.composio?.configured && config.composio.mode === "self-hosted", "composio"],
diff --git a/src/locales/en.json b/src/locales/en.json
index 3b143b4fbc..60b913829f 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -3277,6 +3277,8 @@
"keys.groq.label": "Groq API key",
"keys.groq.desc": "For models served by Groq. Adds Groq to your AI choices, with its API endpoint already set.",
"keys.groq.link": "Groq docs",
+ "keys.greenference.label": "Greenference API key",
+ "keys.greenference.placeholder": "Paste your Greenference API key",
"keys.meta.label": "Meta Model API key",
"keys.meta.desc": "For Meta's Muse models, including Muse Wonder. Adds Meta Muse to your AI choices; new Muse models appear on their own.",
"keys.meta.link": "Meta Model API",
@@ -6879,6 +6881,7 @@
"keys.purpose.mistral": "Models served by Mistral AI",
"keys.purpose.cerebras": "Open models on very fast chips",
"keys.purpose.groq": "Open models served fast by Groq",
+ "keys.purpose.greenference": "Open models run on solar power in Europe",
"keys.purpose.meta": "Meta's Muse models",
"keys.purpose.deepseek": "DeepSeek Harness",
"keys.purpose.opencodeGo": "OpenCode Zen and Go",
diff --git a/src/state/config-status.ts b/src/state/config-status.ts
index 3832d230a2..e6a6406777 100644
--- a/src/state/config-status.ts
+++ b/src/state/config-status.ts
@@ -16,6 +16,7 @@ export interface ConfigStatus {
mistral?: SavedKey;
cerebras?: SavedKey;
groq?: SavedKey;
+ greenference?: SavedKey;
deepseek?: SavedKey;
meta?: SavedKey;
/** X research comes with MausBot Cloud plans: `included` while this server holds the plan's relay credential;
diff --git a/src/state/store.tsx b/src/state/store.tsx
index f86cedc66c..a263310f82 100644
--- a/src/state/store.tsx
+++ b/src/state/store.tsx
@@ -418,7 +418,7 @@ export type { BrowserEngineSummary, BrowserProfile, ConfigStatus, ManagedPolicyS
// A section left out here is wiped from state.config whenever a config frame lands.
export type ConfigStatusFrame = Pick<
ConfigStatus,
- "xai" | "mistral" | "cerebras" | "groq" | "meta" | "deepseek" | "xResearch" | "treg" | "postiz" | "anthropic" | "openai" | "openrouter" | "openaiCompat" | "fleet" | "composio" | "box" | "vps" | "rooms" | "mcp" | "threads" | "automaticRecovery" | "cacheKeepWarm" | "localVm" | "opencodeGo" | "tts" | "decider" | "helpers" | "imageGen" | "live" | "savedKeys" | "profile" | "language" | "features" | "onboarding" | "browserEngine" | "browserProfiles" | "edition" | "budgets" | "billing" | "managedPolicy" | "cloudHome" | "team" | "workspaceBanner"
+ "xai" | "mistral" | "cerebras" | "groq" | "greenference" | "meta" | "deepseek" | "xResearch" | "treg" | "postiz" | "anthropic" | "openai" | "openrouter" | "openaiCompat" | "fleet" | "composio" | "box" | "vps" | "rooms" | "mcp" | "threads" | "automaticRecovery" | "cacheKeepWarm" | "localVm" | "opencodeGo" | "tts" | "decider" | "helpers" | "imageGen" | "live" | "savedKeys" | "profile" | "language" | "features" | "onboarding" | "browserEngine" | "browserProfiles" | "edition" | "budgets" | "billing" | "managedPolicy" | "cloudHome" | "team" | "workspaceBanner"
>;
export function configStatusFromFrame(frame: ConfigStatusFrame): ConfigStatus {
@@ -426,7 +426,7 @@ export function configStatusFromFrame(frame: ConfigStatusFrame): ConfigStatus {
xai: frame.xai,
mistral: frame.mistral,
cerebras: frame.cerebras,
- groq: frame.groq, deepseek: frame.deepseek,
+ groq: frame.groq, greenference: frame.greenference, deepseek: frame.deepseek,
meta: frame.meta, xResearch: frame.xResearch, treg: frame.treg, postiz: frame.postiz,
anthropic: frame.anthropic,
openai: frame.openai,