@jambonz/mrf 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/endpoint.js +4 -3
- package/package.json +1 -1
package/lib/endpoint.js
CHANGED
|
@@ -130,9 +130,10 @@ class Endpoint extends EventEmitter {
|
|
|
130
130
|
return { body: `-ERR ${err.message}` };
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
|
-
/*
|
|
134
|
-
*
|
|
135
|
-
|
|
133
|
+
/* uuid_<vendor>_s2s: the llm task interface. args arrive
|
|
134
|
+
* '^^|<uuid>|<command>[|...]'; map to s2s.* commands. ultravox passes
|
|
135
|
+
* only host/path (a pre-authenticated joinUrl — no authType/apiKey). */
|
|
136
|
+
const s2 = /^uuid_(openai|voice_agent|ultravox)_s2s$/.exec(command);
|
|
136
137
|
if (s2) {
|
|
137
138
|
const vendor = s2[1];
|
|
138
139
|
const raw = Array.isArray(args) ? args.join('|') : String(args || '');
|