fix(NA): eslint

This commit is contained in:
Tiago Costa 2024-07-24 18:42:00 +01:00
parent 47c7137a95
commit 13b0749d09
No known key found for this signature in database
GPG key ID: BAECC2D04A04C6EA

View file

@ -284,7 +284,7 @@ export function convertResponseContentToChatGenerationChunk(
});
}
export function convertAuthorToRole(author: string): typeof POSSIBLE_ROLES[number] {
export function convertAuthorToRole(author: string): (typeof POSSIBLE_ROLES)[number] {
switch (author) {
/**
* Note: Gemini currently is not supporting system messages