hedgequantx 2.5.21 → 2.5.22

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.5.21",
3
+ "version": "2.5.22",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -995,9 +995,25 @@ const selectModel = async (agent) => {
995
995
  return await aiAgentMenu();
996
996
  }
997
997
 
998
+ // Custom model option
999
+ if (choice?.toLowerCase() === 'c') {
1000
+ console.log(chalk.gray('\n Enter any model name supported by your provider.'));
1001
+ console.log(chalk.gray(' Examples: claude-opus-4-20250514, gpt-4o-2024-11-20, etc.\n'));
1002
+
1003
+ const customModel = await prompts.textInput(chalk.cyan('ENTER MODEL NAME:'));
1004
+ if (!customModel || customModel === '<') {
1005
+ return await selectModel(agent);
1006
+ }
1007
+
1008
+ aiService.updateAgent(agent.id, { model: customModel.trim() });
1009
+ console.log(chalk.green(`\n MODEL CHANGED TO: ${customModel.trim()}`));
1010
+ await prompts.waitForEnter();
1011
+ return await aiAgentMenu();
1012
+ }
1013
+
998
1014
  const index = parseInt(choice) - 1;
999
1015
  if (isNaN(index) || index < 0 || index >= models.length) {
1000
- return await aiAgentMenu();
1016
+ return await selectModel(agent);
1001
1017
  }
1002
1018
 
1003
1019
  const selectedModel = models[index];
@@ -44,15 +44,20 @@ const PROVIDERS = {
44
44
  description: 'Direct connection to Claude',
45
45
  category: 'direct',
46
46
  models: [
47
- 'claude-opus-4-20250514', // Claude Opus 4 (latest flagship)
48
- 'claude-sonnet-4-20250514', // Claude Sonnet 4
49
- 'claude-sonnet-4-5-20250929', // Claude Sonnet 4.5 (extended thinking)
50
- 'claude-3-5-sonnet-20241022', // Claude 3.5 Sonnet v2
51
- 'claude-3-5-haiku-20241022', // Claude 3.5 Haiku
52
- 'claude-3-opus-20240229', // Claude 3 Opus
53
- 'claude-3-haiku-20240307' // Claude 3 Haiku
47
+ // Claude 4.5 (Latest flagship)
48
+ 'claude-opus-4-5-20250514',
49
+ // Claude 4
50
+ 'claude-opus-4-20250514',
51
+ 'claude-sonnet-4-20250514',
52
+ // Claude 3.5
53
+ 'claude-3-5-sonnet-20241022',
54
+ 'claude-3-5-haiku-20241022',
55
+ // Claude 3
56
+ 'claude-3-opus-20240229',
57
+ 'claude-3-sonnet-20240229',
58
+ 'claude-3-haiku-20240307'
54
59
  ],
55
- defaultModel: 'claude-sonnet-4-20250514',
60
+ defaultModel: 'claude-opus-4-5-20250514',
56
61
  options: [
57
62
  {
58
63
  id: 'api_key',