hedgequantx 2.6.2 → 2.6.3
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 +1 -1
- package/src/services/ai/index.js +2 -0
package/package.json
CHANGED
package/src/services/ai/index.js
CHANGED
|
@@ -68,6 +68,7 @@ const generateAgentId = () => {
|
|
|
68
68
|
|
|
69
69
|
/**
|
|
70
70
|
* Get all connected agents
|
|
71
|
+
* IMPORTANT: Includes credentials for API calls in StrategySupervisor
|
|
71
72
|
*/
|
|
72
73
|
const getAgents = () => {
|
|
73
74
|
const aiSettings = getAISettings();
|
|
@@ -82,6 +83,7 @@ const getAgents = () => {
|
|
|
82
83
|
providerId: agent.provider,
|
|
83
84
|
option: agent.option,
|
|
84
85
|
model: agent.model || provider?.defaultModel,
|
|
86
|
+
credentials: agent.credentials, // CRITICAL: Required for API calls
|
|
85
87
|
createdAt: agent.createdAt,
|
|
86
88
|
isActive: agent.id === aiSettings.activeAgentId
|
|
87
89
|
};
|