@olane/os 0.7.12-alpha.29 → 0.7.12-alpha.30

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.
@@ -13,13 +13,13 @@ describe('playground running', async () => {
13
13
  expect(entryNode).to.exist;
14
14
  expect(entryNode.state).to.equal(NodeState.RUNNING);
15
15
  console.log('Using intelligence tool');
16
- const response = await entryNode.useStream(new oNodeAddress('o://leader/auth/services/intelligence', [
16
+ const response = await entryNode.useStream(new oNodeAddress('o://leader', [
17
17
  new oNodeTransport('/ip4/127.0.0.1/tcp/4000/ws/p2p/12D3KooWPHdsHhEdyBd9DS2zHJ1vRSyqSkZ97iT7F8ByYJ7U7bw8'),
18
18
  ]), {
19
- method: 'prompt',
19
+ method: 'intent',
20
20
  params: {
21
- _isStream: true,
22
- prompt: 'What is the capital of France?',
21
+ _isStreaming: true,
22
+ intent: 'Print the first paragraph of the Constitution of the United States',
23
23
  _token: 'test',
24
24
  },
25
25
  }, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@olane/os",
3
- "version": "0.7.12-alpha.29",
3
+ "version": "0.7.12-alpha.30",
4
4
  "type": "module",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -57,21 +57,21 @@
57
57
  "typescript": "5.4.5"
58
58
  },
59
59
  "dependencies": {
60
- "@olane/o-config": "0.7.12-alpha.29",
61
- "@olane/o-core": "0.7.12-alpha.29",
62
- "@olane/o-intelligence": "0.7.12-alpha.29",
63
- "@olane/o-lane": "0.7.12-alpha.29",
64
- "@olane/o-leader": "0.7.12-alpha.29",
65
- "@olane/o-protocol": "0.7.12-alpha.29",
66
- "@olane/o-storage": "0.7.12-alpha.29",
67
- "@olane/o-tool": "0.7.12-alpha.29",
68
- "@olane/o-tool-registry": "0.7.12-alpha.29",
69
- "@olane/o-tools-common": "0.7.12-alpha.29",
60
+ "@olane/o-config": "0.7.12-alpha.30",
61
+ "@olane/o-core": "0.7.12-alpha.30",
62
+ "@olane/o-intelligence": "0.7.12-alpha.30",
63
+ "@olane/o-lane": "0.7.12-alpha.30",
64
+ "@olane/o-leader": "0.7.12-alpha.30",
65
+ "@olane/o-protocol": "0.7.12-alpha.30",
66
+ "@olane/o-storage": "0.7.12-alpha.30",
67
+ "@olane/o-tool": "0.7.12-alpha.30",
68
+ "@olane/o-tool-registry": "0.7.12-alpha.30",
69
+ "@olane/o-tools-common": "0.7.12-alpha.30",
70
70
  "chalk": "^5.4.1",
71
71
  "debug": "^4.4.1",
72
72
  "dotenv": "^16.5.0",
73
73
  "fs-extra": "^11.3.0",
74
74
  "touch": "^3.1.1"
75
75
  },
76
- "gitHead": "b8c692a1b5ef2d0e974ccfe501841be852b17dbc"
76
+ "gitHead": "066e6bda19e79a744779a797664481476b0ea655"
77
77
  }