GT AI OS Community v2.0.33 - Add NVIDIA NIM and Nemotron agents
- Updated python_coding_microproject.csv to use NVIDIA NIM Kimi K2 - Updated kali_linux_shell_simulator.csv to use NVIDIA NIM Kimi K2 - Made more general-purpose (flexible targets, expanded tools) - Added nemotron-mini-agent.csv for fast local inference via Ollama - Added nemotron-agent.csv for advanced reasoning via Ollama - Added wiki page: Projects for NVIDIA NIMs and Nemotron
This commit is contained in:
52
apps/tenant-app/next.config.js
Normal file
52
apps/tenant-app/next.config.js
Normal file
@@ -0,0 +1,52 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
// Disable trailing slash redirects so our API routes can handle them
|
||||
skipTrailingSlashRedirect: true,
|
||||
|
||||
// Ignore ESLint errors during production build
|
||||
eslint: {
|
||||
ignoreDuringBuilds: true,
|
||||
},
|
||||
|
||||
// Ignore TypeScript errors during production build (for speed)
|
||||
typescript: {
|
||||
ignoreBuildErrors: true,
|
||||
},
|
||||
|
||||
// Remove console logs in production builds
|
||||
compiler: {
|
||||
removeConsole: process.env.NODE_ENV === 'production' ? {
|
||||
exclude: ['error'],
|
||||
} : false,
|
||||
},
|
||||
|
||||
// NOTE: Server-side environment variables (TENANT_BACKEND_URL, etc.) are NOT defined here
|
||||
// to prevent Next.js from inlining them at build time. They are read from process.env at
|
||||
// runtime, allowing Docker containers to inject the correct URLs via environment variables.
|
||||
// This enables flexible deployment without rebuilding when backend URLs change.
|
||||
|
||||
// Rewrites disabled for /api - using API routes at src/app/api/v1/[...path]/route.ts for server-side proxying
|
||||
// This ensures proper handling of redirects and Docker internal networking
|
||||
async rewrites() {
|
||||
return [
|
||||
{
|
||||
source: '/ws/:path*',
|
||||
destination: `${process.env.INTERNAL_BACKEND_URL || 'http://tenant-backend:8000'}/ws/:path*`,
|
||||
},
|
||||
{
|
||||
source: '/socket.io/:path*',
|
||||
destination: `${process.env.INTERNAL_BACKEND_URL || 'http://tenant-backend:8000'}/socket.io/:path*`,
|
||||
},
|
||||
];
|
||||
},
|
||||
webpack: (config) => {
|
||||
config.resolve.fallback = {
|
||||
fs: false,
|
||||
net: false,
|
||||
tls: false,
|
||||
};
|
||||
return config;
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = nextConfig;
|
||||
Reference in New Issue
Block a user