@adaptic/utils 0.0.1019 → 0.0.1021
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/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/dist/types/llm/alias-client.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -65278,10 +65278,13 @@ function llmBreakers() {
|
|
|
65278
65278
|
/**
|
|
65279
65279
|
* Resolve the gateway transport, building it on first use.
|
|
65280
65280
|
*
|
|
65281
|
-
*
|
|
65281
|
+
* Takes no chain: the transport is cached for the life of the process and
|
|
65282
|
+
* resolves each request's chain from that request's own route, so binding one
|
|
65283
|
+
* here would tie every later alias to whichever alias happened to build it.
|
|
65284
|
+
*
|
|
65282
65285
|
* @returns The transport, or null when no gateway is configured.
|
|
65283
65286
|
*/
|
|
65284
|
-
function gatewayFor(
|
|
65287
|
+
function gatewayFor() {
|
|
65285
65288
|
if (config.gatewayTransport !== undefined) {
|
|
65286
65289
|
return config.gatewayTransport;
|
|
65287
65290
|
}
|