aieo 0.1.37 → 0.1.38
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 +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -23501,7 +23501,8 @@ function getModel(provider, opts) {
|
|
|
23501
23501
|
usage: { include: true },
|
|
23502
23502
|
...isMoonshot ? { provider: { order: ["moonshotai"], allow_fallbacks: true } } : {}
|
|
23503
23503
|
};
|
|
23504
|
-
|
|
23504
|
+
const gatewayModelId = baseURL ? `openrouter/${modelId}` : modelId;
|
|
23505
|
+
return openrouter(gatewayModelId, settings);
|
|
23505
23506
|
}
|
|
23506
23507
|
case "xai": {
|
|
23507
23508
|
if (baseURL) {
|