Skip to content

Commit

Permalink
updated mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
akanshaaa19 committed Nov 13, 2024
1 parent 259fd28 commit a475f8c
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions src/mocks/Assistants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down Expand Up @@ -219,7 +214,7 @@ const updateAssistant = {
instructions: 'test instructions',
model: 'chatgpt-4o-latest',
name: 'test name',
temperature: '1.5',
temperature: 1.5,
},
},
},
Expand Down Expand Up @@ -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')];

0 comments on commit a475f8c

Please sign in to comment.