mirror of
https://github.com/jambonz/verb-specifications.git
synced 2026-07-04 19:22:00 +00:00
allow cmpServer configuration in LLM
This commit is contained in:
+11
-1
@@ -447,7 +447,8 @@
|
||||
"eventHook": "object|string",
|
||||
"toolHook": "object|string",
|
||||
"events": "array",
|
||||
"llmOptions": "object"
|
||||
"llmOptions": "object",
|
||||
"mcpServer": "#mcpServer"
|
||||
},
|
||||
"required": [
|
||||
"vendor",
|
||||
@@ -455,6 +456,15 @@
|
||||
"llmOptions"
|
||||
]
|
||||
},
|
||||
"mcpServer": {
|
||||
"properties": {
|
||||
"url": "string",
|
||||
"auth": "object"
|
||||
},
|
||||
"required": [
|
||||
"url"
|
||||
]
|
||||
},
|
||||
"message": {
|
||||
"properties": {
|
||||
"id": "string",
|
||||
|
||||
@@ -522,6 +522,24 @@ test("validate correct verbs", async (t) => {
|
||||
},
|
||||
"dual_streams": true,
|
||||
"timeLimit" : 10
|
||||
},
|
||||
{
|
||||
"verb": "llm",
|
||||
"vendor": 'ultravox',
|
||||
"model": 'fixie-ai/ultravox',
|
||||
"auth": {
|
||||
"apiKey": "sk-1234567890abcdefg"
|
||||
},
|
||||
"llmOptions": {
|
||||
firstSpeaker: 'FIRST_SPEAKER_AGENT',
|
||||
},
|
||||
"mcpServer": {
|
||||
url: 'https://mcp.example.com',
|
||||
auth: {
|
||||
username: 'username',
|
||||
password: 'password'
|
||||
}
|
||||
}
|
||||
}
|
||||
];
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user