utilitas 2000.3.57 → 2000.3.58
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/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/alan.mjs +4 -2
- package/lib/manifest.mjs +1 -1
- package/package.json +1 -1
package/lib/alan.mjs
CHANGED
|
@@ -390,8 +390,10 @@ const buildAiId = (provider, model) => [
|
|
|
390
390
|
].map(x => ensureString(x, { case: 'SNAKE' })).join('_');
|
|
391
391
|
|
|
392
392
|
const buildAiName = (provider, model) => [
|
|
393
|
-
model?.icon || getProviderIcon(provider),
|
|
394
|
-
|
|
393
|
+
model?.icon || getProviderIcon(provider), packModelLabel([
|
|
394
|
+
provider, isOpenrouter(provider, model) && model.source,
|
|
395
|
+
model.label || model.name
|
|
396
|
+
])
|
|
395
397
|
].join(' ');
|
|
396
398
|
|
|
397
399
|
const buildAiFeatures = model => Object.entries(FEATURE_ICONS).map(
|
package/lib/manifest.mjs
CHANGED