hedgequantx 2.7.79 → 2.7.80

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hedgequantx",
3
- "version": "2.7.79",
3
+ "version": "2.7.80",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -140,10 +140,11 @@ const fetchProviderModels = async (providerId) => {
140
140
  m.id.toLowerCase().includes(prefix)
141
141
  );
142
142
 
143
+ // Return only filtered models for this provider (empty if none found)
143
144
  return {
144
- success: true,
145
- models: filtered.length > 0 ? filtered : result.models,
146
- error: null
145
+ success: filtered.length > 0,
146
+ models: filtered,
147
+ error: filtered.length === 0 ? `No ${providerId} models available` : null
147
148
  };
148
149
  };
149
150