symposium 0.14.9 → 0.14.10

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/Agent.js +2 -2
  2. package/package.json +1 -1
package/Agent.js CHANGED
@@ -422,8 +422,8 @@ export default class Agent {
422
422
  for (let message of thread.messages) {
423
423
  if (message.role === 'system')
424
424
  system_message.push(message.content.map(c => c.content).join("\n"));
425
- else
426
- conversation.push('[' + message.role + '] ' + message.content.map(c => (typeof c.content === 'string' ? c.content : (c.content.transcription || null))).filter(c => !!c).join("\n"));
425
+ else if (!message.tags?.includes('reasoning'))
426
+ conversation.push('[' + message.role + '] ' + message.content.map(c => (typeof c.content === 'string' ? c.content : (c.content.transcription || JSON.stringify(c.content)))).filter(c => !!c).join("\n"));
427
427
  }
428
428
 
429
429
  let instructions = system_message.join('\n');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "symposium",
4
- "version": "0.14.9",
4
+ "version": "0.14.10",
5
5
  "description": "Agents",
6
6
  "main": "index.js",
7
7
  "author": "Domenico Giambra",