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