mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
@@ -4,7 +4,7 @@ import { ObjectSchema } from "./types";
|
||||
export default class AutoGPTServerAPI {
|
||||
private baseUrl: string;
|
||||
|
||||
constructor(baseUrl: string = "http://localhost:8000") {
|
||||
constructor(baseUrl: string = process.env.AGPT_SERVER_URL || "http://localhost:8000") {
|
||||
this.baseUrl = baseUrl;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user