feat(gateway): include audio + web_search in system.services
This commit is contained in:
@@ -72,6 +72,33 @@ export function discoverServices(
|
||||
services.push({ name, type: 'channel', status: 'disconnected', description });
|
||||
}
|
||||
|
||||
// Web search (tooling subsystem)
|
||||
services.push({
|
||||
name: 'web_search',
|
||||
type: 'tool',
|
||||
status: 'configured',
|
||||
description: 'Web search provider',
|
||||
metadata: {
|
||||
provider: config.web_search?.provider ?? 'brave',
|
||||
endpoint: config.web_search?.endpoint,
|
||||
max_results: config.web_search?.max_results,
|
||||
},
|
||||
});
|
||||
|
||||
// Audio transcription (tooling subsystem)
|
||||
const audioEnabled = Boolean(config.audio?.enabled);
|
||||
services.push({
|
||||
name: 'audio_transcription',
|
||||
type: 'tool',
|
||||
status: audioEnabled ? 'configured' : 'not_configured',
|
||||
description: 'Audio transcription',
|
||||
metadata: {
|
||||
provider: config.audio?.provider?.type,
|
||||
endpoint: config.audio?.provider?.endpoint,
|
||||
model: config.audio?.provider?.model,
|
||||
},
|
||||
});
|
||||
|
||||
const automation = config.automation;
|
||||
|
||||
const automationConfigs: Array<{ enabled: boolean; name: string; description: string; itemCount?: number }> = [
|
||||
|
||||
Reference in New Issue
Block a user