mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 10:16:43 +00:00
Changes
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
parent
5db84804de
commit
76473fa0df
1 changed files with 2 additions and 1 deletions
|
|
@ -91,11 +91,12 @@ function AgentDetailPage() {
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
const { data: agent, isLoading: agentLoading } = useQuery({
|
const { data: agent, isLoading: agentLoading, error: agentError } = useQuery({
|
||||||
queryKey: ["agent-detail", id],
|
queryKey: ["agent-detail", id],
|
||||||
enabled: !!isAdmin,
|
enabled: !!isAdmin,
|
||||||
refetchInterval: 10_000,
|
refetchInterval: 10_000,
|
||||||
queryFn: async () => {
|
queryFn: async () => {
|
||||||
|
console.log("[admin.agente] fetching agent detail", { id });
|
||||||
const { data, error } = await supabase
|
const { data, error } = await supabase
|
||||||
.from("agent_instances")
|
.from("agent_instances")
|
||||||
.select(
|
.select(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue