mirror of
https://github.com/tiennm99/goclaw.git
synced 2026-10-13 16:14:57 +00:00
Add STT builtin tools seeding: - PG: migration 000050 (49→50) with stt_scribe and stt_proxy entries - SQLite: schema version 17→18 with inline seed - Both: register in gateway_builtin_tools.go with encrypted API key support Migrations support rollback. Version bumps gated to prevent schema drift.
5 lines
343 B
SQL
5 lines
343 B
SQL
-- Seed the STT builtin_tools row. ON CONFLICT preserves user-customized settings.
|
|
INSERT INTO builtin_tools (name, display_name, description, category, enabled, settings)
|
|
VALUES ('stt', 'Speech-to-Text', 'Transcribe voice/audio messages to text using ElevenLabs Scribe or a proxy service', 'media', true, '{}')
|
|
ON CONFLICT (name) DO NOTHING;
|