@knowlearning/agents 0.9.174 → 0.9.176
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/browser/embedded.js +1 -1
- package/browser.d.ts +1 -0
- package/package.json +1 -1
|
@@ -78,7 +78,7 @@ export default function EmbeddedAgent() {
|
|
|
78
78
|
async function environment(user) {
|
|
79
79
|
const response = await send({ type: 'environment', user })
|
|
80
80
|
// keep copy on initialize symantics for environment variables
|
|
81
|
-
if (!variables) variables = response.variables
|
|
81
|
+
if (!variables && !user) variables = response.variables
|
|
82
82
|
return { ...response, variables }
|
|
83
83
|
}
|
|
84
84
|
|
package/browser.d.ts
CHANGED