mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
chore: changes
This commit is contained in:
@@ -13,7 +13,6 @@ import {
|
||||
import { PendingReviewsList } from "@/components/organisms/PendingReviewsList/PendingReviewsList";
|
||||
import { usePendingReviewsForExecution } from "@/hooks/usePendingReviews";
|
||||
import { ensureSupabaseClient } from "@/lib/supabase/hooks/helpers";
|
||||
import { environment } from "@/services/environment";
|
||||
import { parseAsString, useQueryState } from "nuqs";
|
||||
import { useEffect } from "react";
|
||||
import { AgentInputsReadOnly } from "../../modals/AgentInputsReadOnly/AgentInputsReadOnly";
|
||||
@@ -72,7 +71,8 @@ export function SelectedRunView({
|
||||
return;
|
||||
}
|
||||
|
||||
const baseUrl = environment.getAGPTServerApiUrl();
|
||||
const baseUrl =
|
||||
process.env.NEXT_PUBLIC_AGPT_SERVER_URL || "http://localhost:8006/api";
|
||||
const url = `${baseUrl}/graphs/${agent.graph_id}/executions/${runId}`;
|
||||
|
||||
console.log("[EXPERIMENTAL] Making direct API call to:", url);
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import { ensureSupabaseClient } from "@/lib/supabase/hooks/helpers";
|
||||
import { environment } from "@/services/environment";
|
||||
import { useEffect } from "react";
|
||||
import FavoritesSection from "./components/FavoritesSection/FavoritesSection";
|
||||
import LibraryActionHeader from "./components/LibraryActionHeader/LibraryActionHeader";
|
||||
@@ -31,7 +30,8 @@ export default function LibraryPage() {
|
||||
return;
|
||||
}
|
||||
|
||||
const baseUrl = environment.getAGPTServerApiUrl();
|
||||
const baseUrl =
|
||||
process.env.NEXT_PUBLIC_AGPT_SERVER_URL || "http://localhost:8006/api";
|
||||
const url = `${baseUrl}/library/agents?page=1&page_size=8`;
|
||||
|
||||
console.log("[EXPERIMENTAL] Making direct API call to:", url);
|
||||
|
||||
Reference in New Issue
Block a user