- 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
37 lines
1.1 KiB
PL/PgSQL
37 lines
1.1 KiB
PL/PgSQL
-- T008_optics_feature.sql
|
|
-- Add Optics cost tracking feature toggle for tenants
|
|
-- This enables the Optics tab in tenant observability for cost visibility
|
|
|
|
BEGIN;
|
|
|
|
-- Add optics_enabled column to tenants table in control panel database
|
|
-- This column controls whether the Optics cost tracking tab is visible for a tenant
|
|
ALTER TABLE public.tenants
|
|
ADD COLUMN IF NOT EXISTS optics_enabled BOOLEAN DEFAULT FALSE;
|
|
|
|
-- Add comment for documentation
|
|
COMMENT ON COLUMN public.tenants.optics_enabled IS
|
|
'Enable Optics cost tracking tab in tenant observability dashboard';
|
|
|
|
-- Update existing test tenant to have optics enabled for demo purposes
|
|
UPDATE public.tenants
|
|
SET optics_enabled = TRUE
|
|
WHERE domain = 'test-company';
|
|
|
|
COMMIT;
|
|
|
|
-- Log completion
|
|
DO $$
|
|
BEGIN
|
|
RAISE NOTICE '=== T008 OPTICS FEATURE MIGRATION ===';
|
|
RAISE NOTICE 'Added optics_enabled column to tenants table';
|
|
RAISE NOTICE 'Default: FALSE (disabled)';
|
|
RAISE NOTICE 'Test tenant (test-company): enabled';
|
|
RAISE NOTICE '=====================================';
|
|
END $$;
|
|
|
|
-- Rollback (if needed):
|
|
-- BEGIN;
|
|
-- ALTER TABLE public.tenants DROP COLUMN IF EXISTS optics_enabled;
|
|
-- COMMIT;
|