symposium 1.2.0 → 1.2.2

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 (3) hide show
  1. package/Agent.js +1 -1
  2. package/index.js +8 -0
  3. package/package.json +1 -1
package/Agent.js CHANGED
@@ -118,7 +118,7 @@ export default class Agent {
118
118
  if (context_texts.length) {
119
119
  let context_string = context_texts.join('\n');
120
120
  if (is_there_on_request) {
121
- context_string = '<important>Some of the context is available to you immediately here, while longer texts may be available only on request; you are provided with a title and a description. If you think it may be useful for your current task, you can request the text via the get_context tool</important>';
121
+ context_string = '<important>Some of the context files are available to you immediately here, while longer texts may be available only on request; you are provided with a title and a description of these files. If you think it may be useful for your current task, you can request the text via the get_context tool - IMPORTANT: use the title of the file verbatim as it is provided</important>' + context_string;
122
122
  if (!this.tools.has('get_context'))
123
123
  this.addTool(new GetContextTool(this));
124
124
  }
package/index.js CHANGED
@@ -5,9 +5,14 @@ import Agent from "./Agent.js";
5
5
  import Thread from "./Thread.js";
6
6
  import Tool from "./Tool.js";
7
7
  import Logger from "./Logger.js";
8
+
8
9
  import ContextHandler from "./ContextHandler.js";
9
10
  import Summarizer from "./Summarizer.js";
10
11
 
12
+ import Context from "./Context.js";
13
+ import File from "./Contexts/File.js";
14
+ import Text from "./Contexts/Text.js";
15
+
11
16
  export {
12
17
  Symposium,
13
18
  Agent,
@@ -16,4 +21,7 @@ export {
16
21
  Logger,
17
22
  ContextHandler,
18
23
  Summarizer,
24
+ Context,
25
+ File,
26
+ Text,
19
27
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "symposium",
4
- "version": "1.2.0",
4
+ "version": "1.2.2",
5
5
  "description": "Agents",
6
6
  "main": "index.js",
7
7
  "author": "Domenico Giambra",