[AI] Improve tools tab (#19221)

This commit is contained in:
nitin
2026-04-02 19:06:33 +05:30
committed by GitHub
parent cd23a2bc80
commit 3c067f072c
46 changed files with 1134 additions and 486 deletions
@@ -1,16 +1,7 @@
import { GET_TOOL_INDEX } from '@/ai/graphql/queries/getToolIndex';
import { useQuery } from '@apollo/client/react';
type ToolIndexEntry = {
name: string;
description: string;
category: string;
objectName?: string;
};
type GetToolIndexQuery = {
getToolIndex: ToolIndexEntry[];
};
import { type GetToolIndexQuery } from '~/generated-metadata/graphql';
export const useGetToolIndex = () => {
const { data, loading, error } = useQuery<GetToolIndexQuery>(GET_TOOL_INDEX);