symposium 2.1.7 → 2.1.8

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.
Files changed (2) hide show
  1. package/Symposium.js +2 -1
  2. package/package.json +1 -1
package/Symposium.js CHANGED
@@ -144,10 +144,11 @@ export default class Symposium {
144
144
 
145
145
  agent.doInitThread = async thread => {
146
146
  if (options.model)
147
- await thread.setModel(options.model);
147
+ await thread.setState({model: options.model})
148
148
  await thread.addMessage('system', system);
149
149
  };
150
150
 
151
+ await agent.init();
151
152
  const thread = await agent.getThread();
152
153
  return agent.message(prompt, thread);
153
154
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "symposium",
4
- "version": "2.1.7",
4
+ "version": "2.1.8",
5
5
  "description": "Agents",
6
6
  "main": "index.js",
7
7
  "author": "Domenico Giambra",