|
1 | 1 | 'use client'; |
2 | 2 |
|
3 | | -import { useEffect } from 'react'; |
4 | | -import { useRouter } from 'next/navigation'; |
5 | 3 | import { graphql } from '@/gql'; |
6 | 4 | import { useMutation, useQuery } from '@tanstack/react-query'; |
7 | 5 | import { parseAsString, useQueryState } from 'next-usequerystate'; |
| 6 | +import { useRouter } from 'next/navigation'; |
8 | 7 | import { Button, DataTable, Icon, IconButton, Text, toast } from 'opub-ui'; |
| 8 | +import { useEffect } from 'react'; |
9 | 9 | import { twMerge } from 'tailwind-merge'; |
10 | 10 |
|
11 | | -import { GraphQL } from '@/lib/api'; |
12 | | -import { formatDate } from '@/lib/utils'; |
13 | 11 | import { Icons } from '@/components/icons'; |
14 | 12 | import { LinkButton } from '@/components/Link'; |
15 | 13 | import { Loading } from '@/components/loading'; |
| 14 | +import { GraphQL } from '@/lib/api'; |
| 15 | +import { formatDate } from '@/lib/utils'; |
16 | 16 | import { ActionBar } from '../dataset/components/action-bar'; |
17 | 17 | import { Navigation } from '../dataset/components/navigate-org-datasets'; |
18 | 18 |
|
@@ -147,9 +147,6 @@ export default function AIModelsPage({ |
147 | 147 | }, |
148 | 148 | { |
149 | 149 | input: { |
150 | | - name: 'new-model', |
151 | | - displayName: 'New Model', |
152 | | - description: 'A new AI model', |
153 | 150 | modelType: 'TEXT_GENERATION', |
154 | 151 | provider: 'CUSTOM', |
155 | 152 | }, |
|
0 commit comments