support toolhook (#125)

This commit is contained in:
Hoan Luu Huu
2026-03-05 19:24:04 +07:00
committed by GitHub
parent 253bd8a49c
commit 337114035d
2 changed files with 22 additions and 1 deletions

View File

@@ -664,6 +664,26 @@ test("validate correct verbs", async (t) => {
}
]
},
{
"verb": "pipeline",
"stt": {
"vendor": "google",
"language": "en-US"
},
"tts": {
"vendor": "google",
"language": "en-US"
},
"llm": {
"vendor": "openai",
"llmOptions": {
"model": "gpt-4o"
}
},
"actionHook": "/pipeline/action",
"eventHook": "/pipeline/event",
"toolHook": "/pipeline/tool"
},
{
"verb": "transcribe",
"transcriptionHook": "http://example.com/transcribe",