From e5f6f151bd42a5b58e84d6d84266737c0f3a960a Mon Sep 17 00:00:00 2001 From: dosco <832235+dosco@users.noreply.github.com> Date: Wed, 4 Dec 2024 12:57:18 -0800 Subject: [PATCH] fix: minor fixes --- src/ax/ai/google-gemini/types.ts | 8 +++++++- src/web-ui/{tailwind.config.js => tailwind.config.cjs} | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) rename src/web-ui/{tailwind.config.js => tailwind.config.cjs} (99%) diff --git a/src/ax/ai/google-gemini/types.ts b/src/ax/ai/google-gemini/types.ts index eb21528..f06ae03 100644 --- a/src/ax/ai/google-gemini/types.ts +++ b/src/ax/ai/google-gemini/types.ts @@ -123,7 +123,13 @@ export type AxAIGoogleGeminiChatResponse = { candidates: { content: AxAIGoogleGeminiContent; - finishReason: 'STOP' | 'MAX_TOKENS' | 'SAFETY' | 'RECITATION' | 'OTHER'; + finishReason: + | 'STOP' + | 'MAX_TOKENS' + | 'SAFETY' + | 'RECITATION' + | 'OTHER' + | 'MALFORMED_FUNCTION_CALL'; citationMetadata: { citations: { startIndex: number; diff --git a/src/web-ui/tailwind.config.js b/src/web-ui/tailwind.config.cjs similarity index 99% rename from src/web-ui/tailwind.config.js rename to src/web-ui/tailwind.config.cjs index 3345fd0..98a6c70 100644 --- a/src/web-ui/tailwind.config.js +++ b/src/web-ui/tailwind.config.cjs @@ -1,5 +1,5 @@ /** @type {import('tailwindcss').Config} */ -module.exports = { +export default { content: [ './pages/**/*.{ts,tsx}', './components/**/*.{ts,tsx}',