- Added support for rendering markdown in chat messages using ReactMarkdown with custom renderers. - Integrated a default format prompt for the chat system, improving user experience by initializing with a predefined prompt. - Updated the prompt generator to handle model selection more robustly, including loading states and fallback options for model selection. - Enhanced UI components for better accessibility and user feedback during prompt generation.
21 lines
458 B
TypeScript
21 lines
458 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: 'export',
|
|
images: {
|
|
unoptimized: true,
|
|
},
|
|
webpack: (config) => {
|
|
config.module.rules.push({
|
|
test: /\.md$/,
|
|
use: 'raw-loader',
|
|
});
|
|
return config;
|
|
},
|
|
// Configuração Turbopack: objeto vazio silencia o erro
|
|
// Turbopack ainda não suporta raw-loader, então usaremos webpack para builds
|
|
turbopack: {},
|
|
};
|
|
|
|
export default nextConfig;
|