Skip to content

Open source AI coding agent. Designed for large projects and real world tasks.

Update build.go

S1ahs3r0eaed1eceb85
diff --git a/app/cli/plan_exec/build.go b/app/cli/plan_exec/build.go
index 9d215eb8..d708b225 100644
--- a/app/cli/plan_exec/build.go
+++ b/app/cli/plan_exec/build.go
@@ -40,6 +40,7 @@ func Build(params ExecParams, buildBg bool) (bool, error) {
ConnectStream: !buildBg,
ProjectPaths: paths.ActivePaths,
ApiKey: os.Getenv("OPENAI_API_KEY"),
+ Endpoint: os.Getenv("OPENAI_ENDPOINT"),
}, stream.OnStreamPlan)
term.StopSpinner()