From 85a8332ac01457578d47fd9840c43f00920d3ced Mon Sep 17 00:00:00 2001 From: Recoup Agent Date: Tue, 10 Mar 2026 20:30:25 +0000 Subject: [PATCH] agent: @U0AJM7X8FBR we want to change the model being used in the coding-agent --- src/consts.ts | 3 ++- src/sandboxes/setupOpenClaw.ts | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/consts.ts b/src/consts.ts index 6cfdb16..0e7b6ee 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -1,3 +1,4 @@ export const NEW_API_BASE_URL = "https://recoup-api.vercel.app"; export const RECOUP_API_KEY = process.env.RECOUP_API_KEY; -export const CODING_AGENT_ACCOUNT_ID = "04e3aba9-c130-4fb8-8b92-34e95d43e66b"; \ No newline at end of file +export const CODING_AGENT_ACCOUNT_ID = "04e3aba9-c130-4fb8-8b92-34e95d43e66b"; +export const CODING_AGENT_MODEL = "moonshotai/kimi-k2.5"; \ No newline at end of file diff --git a/src/sandboxes/setupOpenClaw.ts b/src/sandboxes/setupOpenClaw.ts index dc95b59..500db8e 100644 --- a/src/sandboxes/setupOpenClaw.ts +++ b/src/sandboxes/setupOpenClaw.ts @@ -1,6 +1,7 @@ import type { Sandbox } from "@vercel/sandbox"; import { logger } from "@trigger.dev/sdk/v3"; import { onboardOpenClaw } from "./onboardOpenClaw"; +import { CODING_AGENT_MODEL } from "../consts"; /** * Ensures OpenClaw is onboarded, seeds env vars into the config, @@ -44,6 +45,8 @@ export async function setupOpenClaw( ${githubToken ? `c.env.GITHUB_TOKEN = '${githubToken}';` : ""} c.tools = c.tools || {}; c.tools.profile = 'coding'; + c.model = 'vercel-ai-gateway/${CODING_AGENT_MODEL}'; + c.defaultModel = 'vercel-ai-gateway/${CODING_AGENT_MODEL}'; fs.writeFileSync(p, JSON.stringify(c, null, 2)); "`, ],