symposium 0.5.5 → 0.5.6

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.
@@ -20,7 +20,7 @@ export default class OpenAIModel extends Model {
20
20
 
21
21
  if (functions.length && !this.supports_functions) {
22
22
  // Se il modello non supporta nativamente le funzioni, inserisco il prompt ad hoc come ultimo messaggio di sistema
23
- const functions_prompt = this.promptFromFunctions(functions);
23
+ const functions_prompt = this.promptFromFunctions(payload, functions);
24
24
  let system_messages = [], other_messages = [], first_found = false;
25
25
  for (let message of messages) {
26
26
  if (!first_found && message.role !== 'system')
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "symposium",
4
- "version": "0.5.5",
4
+ "version": "0.5.6",
5
5
  "description": "Agents",
6
6
  "main": "index.js",
7
7
  "author": "Domenico Giambra",