Feat/chat UI improvements #209
Annotations
10 errors
build-and-test:
jest/fixtures/models.ts#L76
Type '{ id: string; name: string; author: string; type: string; description: string; size: number; params: number; isDownloaded: false; downloadUrl: string; hfUrl: string; progress: number; filename: string; ... 5 more ...; completionSettings: CompletionParams; }' is not assignable to type 'Model'.
|
build-and-test:
src/store/__tests__/ChatSessionStore.test.ts#L64
Property 'completionSettings' is missing in type '{ id: string; title: string; date: string; messages: never[]; }' but required in type 'SessionMetaData'.
|
build-and-test:
src/store/__tests__/ChatSessionStore.test.ts#L84
Property 'completionSettings' is missing in type '{ id: string; title: string; date: string; messages: never[]; }' but required in type 'SessionMetaData'.
|
build-and-test:
src/store/__tests__/ChatSessionStore.test.ts#L119
Property 'completionSettings' is missing in type '{ id: string; title: string; date: string; messages: never[]; }' but required in type 'SessionMetaData'.
|
build-and-test:
src/store/__tests__/ChatSessionStore.test.ts#L141
Property 'completionSettings' is missing in type '{ id: string; title: string; date: string; messages: MessageType.Text[]; }' but required in type 'SessionMetaData'.
|
build-and-test:
src/store/__tests__/ChatSessionStore.test.ts#L161
Argument of type '{ id: string; title: string; date: string; messages: MessageType.Text[]; }' is not assignable to parameter of type 'SessionMetaData'.
|
build-and-test:
src/store/__tests__/ChatSessionStore.test.ts#L174
Argument of type '{ id: string; title: string; date: string; messages: { text: string; type: "text"; author: User; createdAt?: number | undefined; id: string; metadata?: Record<string, any> | undefined; roomId?: string | undefined; status?: "delivered" | ... 4 more ... | undefined; updatedAt?: number | undefined; previewData?: Previe...' is not assignable to parameter of type 'SessionMetaData'.
|
build-and-test:
src/store/__tests__/ChatSessionStore.test.ts#L210
Property 'completionSettings' is missing in type '{ id: string; title: string; date: string; messages: never[]; }' but required in type 'SessionMetaData'.
|
build-and-test:
src/store/__tests__/ChatSessionStore.test.ts#L227
Property 'completionSettings' is missing in type '{ id: string; title: string; date: string; messages: never[]; }' but required in type 'SessionMetaData'.
|
build-and-test:
src/store/__tests__/ChatSessionStore.test.ts#L254
Property 'completionSettings' is missing in type '{ id: string; title: string; date: string; messages: MessageType.Text[]; }' but required in type 'SessionMetaData'.
|