mirror of
https://github.com/harivansh-afk/sandbox-agent.git
synced 2026-04-15 09:01:17 +00:00
fix(foundry): fix runner version
This commit is contained in:
parent
f25a92aca8
commit
ffb9f1082b
10 changed files with 114 additions and 6 deletions
|
|
@ -6,16 +6,15 @@ import { auditLog } from "./audit-log/index.js";
|
|||
import { taskSandbox } from "./sandbox/index.js";
|
||||
import { organization } from "./organization/index.js";
|
||||
import { logger } from "../logging.js";
|
||||
import { resolveRunnerVersion } from "../config/runner-version.js";
|
||||
|
||||
const RUNNER_VERSION = Math.floor(Date.now() / 1000);
|
||||
const runnerVersion = resolveRunnerVersion();
|
||||
|
||||
export const registry = setup({
|
||||
serverless: {
|
||||
basePath: "/v1/rivet",
|
||||
},
|
||||
runner: {
|
||||
version: RUNNER_VERSION,
|
||||
},
|
||||
runner: { version: runnerVersion },
|
||||
logging: {
|
||||
baseLogger: logger,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue