diff --git a/src/tools.ts b/src/tools.ts index 98e67f2..9773678 100644 --- a/src/tools.ts +++ b/src/tools.ts @@ -26,7 +26,7 @@ export type EnvironmentResponse = components["schemas"]["EnvironmentResponse"]; export type ErrorResponse = components["schemas"]["ZodResponse"] | undefined; -const BASE_URL = "https://app.octomind.dev/api"; +const BASE_URL = process.env.OCTOMIND_API_URL || "https://app.octomind.dev/api"; const client = createClient({ baseUrl: BASE_URL });