use temp dir as home in codex
This commit is contained in:
@@ -16,6 +16,7 @@ export const codex = agent({
|
||||
run: async ({ payload, mcpServers, apiKey, cliPath, githubInstallationToken }) => {
|
||||
process.env.OPENAI_API_KEY = apiKey;
|
||||
process.env.GITHUB_INSTALLATION_TOKEN = githubInstallationToken;
|
||||
process.env.HOME = process.env.PULLFROG_TEMP_DIR;
|
||||
|
||||
configureCodexMcpServers({ mcpServers, cliPath });
|
||||
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ import { configure } from "arktype/config";
|
||||
|
||||
configure({
|
||||
toJsonSchema: {
|
||||
dialect: null,
|
||||
// dialect: null,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user