Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Custom Claude endpoint test: build the expected directory with path.join
milind-soni942c20037a47
diff --git a/server/claude-endpoints.test.ts b/server/claude-endpoints.test.tsindex e6c2792c22..9080bc533a 100644--- a/server/claude-endpoints.test.ts+++ b/server/claude-endpoints.test.ts@@ -1,3 +1,4 @@+import { join } from "node:path";import { describe, expect, it } from "vitest";import { DATA_DIR } from "./config.ts";@@ -39,7 +40,7 @@ describe("custom Claude endpoint", () => {access: "custom",config: {cli: "claude-wrapper",- configDir: `${DATA_DIR}/providers/${instanceId}`,+ configDir: join(DATA_DIR, "providers", instanceId),requireApiKey: true,endpointModels: ["deepseek-chat", "deepseek-reasoner"],},