fix: Disable test agents (ag_atlas, ag_builder, ag_greeter, ag_oracle) in migration 013
- Comment out INSERT for test agents that keep reappearing - These are not real agents and should not be created - Real agents are managed through agents_city_mapping.yaml and sync scripts
This commit is contained in:
@@ -110,23 +110,26 @@ COMMENT ON TABLE agents IS 'AI Agents registry for DAARION City';
|
|||||||
-- =============================================================================
|
-- =============================================================================
|
||||||
-- Seed default agents
|
-- Seed default agents
|
||||||
-- =============================================================================
|
-- =============================================================================
|
||||||
|
-- DISABLED: These test agents (ag_atlas, ag_builder, ag_greeter, ag_oracle)
|
||||||
INSERT INTO agents (id, display_name, kind, color, status, current_room_id, capabilities) VALUES
|
-- are not real agents and should not be created.
|
||||||
('ag_atlas', 'Atlas', 'civic', 'cyan', 'online', 'room_city_general',
|
-- Real agents are managed through agents_city_mapping.yaml and sync scripts.
|
||||||
'["chat", "moderation", "onboarding"]'),
|
--
|
||||||
('ag_oracle', 'Oracle', 'oracle', 'purple', 'online', 'room_city_science',
|
-- INSERT INTO agents (id, display_name, kind, color, status, current_room_id, capabilities) VALUES
|
||||||
'["research", "analysis", "predictions"]'),
|
-- ('ag_atlas', 'Atlas', 'civic', 'cyan', 'online', 'room_city_general',
|
||||||
('ag_builder', 'Builder Bot', 'builder', 'orange', 'offline', 'room_city_builders',
|
-- '["chat", "moderation", "onboarding"]'),
|
||||||
'["code", "automation", "integration"]'),
|
-- ('ag_oracle', 'Oracle', 'oracle', 'purple', 'online', 'room_city_science',
|
||||||
('ag_greeter', 'Greeter', 'social', 'green', 'online', 'room_city_welcome',
|
-- '["research", "analysis", "predictions"]'),
|
||||||
'["welcome", "help", "faq"]')
|
-- ('ag_builder', 'Builder Bot', 'builder', 'orange', 'offline', 'room_city_builders',
|
||||||
ON CONFLICT (id) DO UPDATE SET
|
-- '["code", "automation", "integration"]'),
|
||||||
display_name = EXCLUDED.display_name,
|
-- ('ag_greeter', 'Greeter', 'social', 'green', 'online', 'room_city_welcome',
|
||||||
kind = EXCLUDED.kind,
|
-- '["welcome", "help", "faq"]')
|
||||||
color = EXCLUDED.color,
|
-- ON CONFLICT (id) DO UPDATE SET
|
||||||
current_room_id = EXCLUDED.current_room_id,
|
-- display_name = EXCLUDED.display_name,
|
||||||
capabilities = EXCLUDED.capabilities,
|
-- kind = EXCLUDED.kind,
|
||||||
updated_at = NOW();
|
-- color = EXCLUDED.color,
|
||||||
|
-- current_room_id = EXCLUDED.current_room_id,
|
||||||
|
-- capabilities = EXCLUDED.capabilities,
|
||||||
|
-- updated_at = NOW();
|
||||||
|
|
||||||
-- =============================================================================
|
-- =============================================================================
|
||||||
-- END OF MIGRATION 013
|
-- END OF MIGRATION 013
|
||||||
|
|||||||
Reference in New Issue
Block a user