From a475f8c2cc4dcdbe8886d6b71c55a256e935514d Mon Sep 17 00:00:00 2001 From: Akansha Sakhre Date: Wed, 13 Nov 2024 10:50:30 +0530 Subject: [PATCH] updated mocks --- src/mocks/Assistants.ts | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/mocks/Assistants.ts b/src/mocks/Assistants.ts index 823b14e05..c0ebc59a8 100644 --- a/src/mocks/Assistants.ts +++ b/src/mocks/Assistants.ts @@ -6,12 +6,7 @@ import { UPDATE_ASSISTANT, UPLOAD_FILE_TO_OPENAI, } from 'graphql/mutations/Assistant'; -import { - GET_ASSISTANT, - GET_ASSISTANTS, - GET_ASSISTANT_FILES, - GET_MODELS, -} from 'graphql/queries/Assistant'; +import { GET_ASSISTANT, GET_ASSISTANTS, GET_ASSISTANT_FILES, GET_MODELS } from 'graphql/queries/Assistant'; const getAssistantsList = (limit: number = 3) => ({ request: { @@ -219,7 +214,7 @@ const updateAssistant = { instructions: 'test instructions', model: 'chatgpt-4o-latest', name: 'test name', - temperature: '1.5', + temperature: 1.5, }, }, }, @@ -290,9 +285,4 @@ export const MOCKS = [ export const emptyMocks = [getAssistantsList(0), listOpenaiModels, getAssistant('2')]; -export const loadMoreMocks = [ - getAssistantsList(25), - listOpenaiModels, - loadMoreQuery, - getAssistant('1'), -]; +export const loadMoreMocks = [getAssistantsList(25), listOpenaiModels, loadMoreQuery, getAssistant('1')];