openlayer 0.1.37 → 0.1.38

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.
package/dist/index.js CHANGED
@@ -20,7 +20,7 @@ exports.OpenAIMonitor = exports.OpenlayerClient = void 0;
20
20
  const node_fetch_1 = require("node-fetch");
21
21
  const openai_1 = require("openai");
22
22
  const uuid_1 = require("uuid");
23
- const request_1 = require("./utils/request");
23
+ const request_1 = require("./request");
24
24
  const OpenAIPricing = {
25
25
  'babbage-002': {
26
26
  input: 0.0004,
@@ -4,6 +4,8 @@
4
4
 
5
5
  import { ChatOpenAI } from 'langchain/chat_models/openai';
6
6
  import { OpenlayerClient } from 'openlayer';
7
+ import { RunReturn } from 'openlayer/run';
8
+ import { CLIHandler } from 'openlayer/cli';
7
9
 
8
10
  // Instantiate the Openlayer client with your API key
9
11
  const openlayer = new OpenlayerClient({
@@ -5,7 +5,7 @@
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "..": {
8
- "version": "0.1.35",
8
+ "version": "0.1.38",
9
9
  "license": "ISC",
10
10
  "dependencies": {
11
11
  "@typescript-eslint/eslint-plugin": "^6.11.0",
@@ -12,6 +12,6 @@
12
12
  "dependencies": {
13
13
  "langchain": "^0.1.34",
14
14
  "openai": "^4.38.3",
15
- "openlayer": "^0.1.36"
15
+ "openlayer": "^0.1.37"
16
16
  }
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openlayer",
3
- "version": "0.1.37",
3
+ "version": "0.1.38",
4
4
  "description": "The Openlayer TypeScript client",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -34,7 +34,7 @@
34
34
  "import": "./lib/cli/index.ts"
35
35
  },
36
36
  "./run": {
37
- "import": "./lib/utils/run/index.ts"
37
+ "import": "./lib/run/index.ts"
38
38
  }
39
39
  }
40
40
  }
package/tsconfig.json CHANGED
@@ -6,5 +6,6 @@
6
6
  "declaration": true,
7
7
  "outDir": "./dist",
8
8
  "strict": true
9
- }
9
+ },
10
+ "include": ["lib/**/*.ts"]
10
11
  }
File without changes
File without changes
File without changes
File without changes