@knowlearning/agents 0.9.46 → 0.9.47
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/agents/generic/index.js +1 -0
- package/package.json +1 -1
package/agents/generic/index.js
CHANGED
|
@@ -184,6 +184,7 @@ export default function Agent({ host, token, WebSocket, protocol='ws', uuid, fet
|
|
|
184
184
|
session.queries[id] = { query, params, domain }
|
|
185
185
|
const { rows } = await lastMessageResponse()
|
|
186
186
|
session.queries[id].agent_latency = Date.now() - requested
|
|
187
|
+
delete session.queries[id]
|
|
187
188
|
return rows
|
|
188
189
|
}
|
|
189
190
|
|