switch to llms
This commit is contained in:
@@ -9,13 +9,6 @@ export async function executeCodeCommand(args: string[] = []) {
|
||||
// Set environment variables
|
||||
const env = {
|
||||
...process.env,
|
||||
HTTPS_PROXY: undefined,
|
||||
HTTP_PROXY: undefined,
|
||||
ALL_PROXY: undefined,
|
||||
https_proxy: undefined,
|
||||
http_proxy: undefined,
|
||||
all_proxy: undefined,
|
||||
DISABLE_PROMPT_CACHING: "1",
|
||||
ANTHROPIC_AUTH_TOKEN: "test",
|
||||
ANTHROPIC_BASE_URL: `http://127.0.0.1:3456`,
|
||||
API_TIMEOUT_MS: "600000",
|
||||
@@ -29,7 +22,7 @@ export async function executeCodeCommand(args: string[] = []) {
|
||||
const claudeProcess = spawn(claudePath, args, {
|
||||
env,
|
||||
stdio: "inherit",
|
||||
shell: true
|
||||
shell: true,
|
||||
});
|
||||
|
||||
claudeProcess.on("error", (error) => {
|
||||
|
||||
Reference in New Issue
Block a user