diff --git a/web/models/log.ts b/web/models/log.ts index baa07a59c4..b9c91a7a3c 100644 --- a/web/models/log.ts +++ b/web/models/log.ts @@ -21,9 +21,6 @@ export type ConversationListResponse = { logs: Conversation[] } -export const fetchLogs = (url: string) => - fetch(url).then(r => r.json()) - export const CompletionParams = ['temperature', 'top_p', 'presence_penalty', 'max_token', 'stop', 'frequency_penalty'] as const export type CompletionParamType = typeof CompletionParams[number] diff --git a/web/models/user.ts b/web/models/user.ts deleted file mode 100644 index 5451980902..0000000000 --- a/web/models/user.ts +++ /dev/null @@ -1,17 +0,0 @@ -export type User = { - id: string - firstName: string - lastName: string - name: string - phone: string - username: string - email: string - avatar: string -} - -export type UserResponse = { - users: User[] -} - -export const fetchUsers = (url: string) => - fetch(url).then(r => r.json())