Open bjareczek4tandem opened 5 months ago
This compiles fine on Windows, but not on macOS and not in Github actions:
This is the exception:
` Linting and checking validity of types ..Failed to compile.
./features/chat/chat-services/chat-api-data.ts:85:11 Type error: Type '"user"' is not assignable to type '"assistant"'.
83 | await chatHistory.addMessage({ 84 | content: lastHumanMessage.content,
85 | role: "user", | ^ 86 | }); 87 | 88 | await chatHistory.addMessage(`
Annoying error. Fix by adding your own types.
This compiles fine on Windows, but not on macOS and not in Github actions:
This is the exception:
` Linting and checking validity of types ..Failed to compile.
./features/chat/chat-services/chat-api-data.ts:85:11 Type error: Type '"user"' is not assignable to type '"assistant"'.
83 | await chatHistory.addMessage({ 84 | content: lastHumanMessage.content,