Compare commits

...

1 Commits

Author SHA1 Message Date
Lluis Agusti
e94ea8350c chore: changes 2025-12-01 21:43:34 +07:00
2 changed files with 4 additions and 4 deletions

View File

@@ -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);

View File

@@ -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);