Skip to content

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

Merge remote-tracking branch 'upstream/main' into pr-7356-sync

jonathanwxh-celld390f57532a1
diff --cc server/config.ts
index 8469a80b4d,51cd8fd04d..666c17879f
--- a/server/config.ts
+++ b/server/config.ts
@@@ -339,10 -338,12 +339,10 @@@ const appConfigSchema = z.object(
})
.optional(),
/** `model` seeds the default selection; `provider` pins an OpenRouter upstream (e.g. "fireworks"). */
- openaiCompat: z.object({ key: optionalText, url: optionalText, model: optionalText, provider: optionalText, customHeaders: openAiCompatConfigHeadersSchema.optional() }).optional(),
- openaiCompat: z
- .object({ key: secretText, url: optionalText, model: optionalText, provider: optionalText })
- .optional(),
++ openaiCompat: z.object({ key: secretText, url: optionalText, model: optionalText, provider: optionalText, customHeaders: openAiCompatConfigHeadersSchema.optional() }).optional(),
/** Composio project key; `userId`/`sessionId` reuse one Composio Session. */
- composio: z.object({ apiKey: optionalText, userId: optionalText, sessionId: optionalText }).optional(),
- box: z.object({ token: optionalText }).optional(),
+ composio: z.object({ apiKey: secretText, userId: optionalText, sessionId: optionalText }).optional(),
+ box: z.object({ token: secretText }).optional(),
vps: vpsConfigSchema.optional(),
vpsServers: vpsServersSchema.optional(),
/** OpenCode key, plus `providerKeys` for its other providers by the env name OpenCode reads; both write-only and only for its child. */