chore: resolve build warnings and update dependencies (#18880)

This commit is contained in:
matt korwel
2026-02-19 21:25:56 -06:00
committed by GitHub
parent 5fd557347e
commit c3b52b8206
7 changed files with 300 additions and 222 deletions

View File

@@ -967,6 +967,10 @@ export const useGeminiStream = (
'Response stopped due to prohibited image content.',
[FinishReason.NO_IMAGE]:
'Response stopped because no image was generated.',
[FinishReason.IMAGE_RECITATION]:
'Response stopped due to image recitation policy.',
[FinishReason.IMAGE_OTHER]:
'Response stopped due to other image-related reasons.',
};
const message = finishReasonMessages[finishReason];