backend-manager 3.2.91 → 3.2.93
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "backend-manager",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.93",
|
|
4
4
|
"description": "Quick tools for developing Firebase functions",
|
|
5
5
|
"main": "src/manager/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -71,4 +71,4 @@
|
|
|
71
71
|
"wonderful-log": "^1.0.5",
|
|
72
72
|
"yargs": "^17.7.2"
|
|
73
73
|
}
|
|
74
|
-
}
|
|
74
|
+
}
|
|
@@ -102,6 +102,8 @@ Middleware.prototype.run = function (libPath, options) {
|
|
|
102
102
|
|
|
103
103
|
// Log
|
|
104
104
|
assistant.log(`Middleware.process(): Resolved settings with schema ${options.schema}`, JSON.stringify(assistant.settings));
|
|
105
|
+
} else {
|
|
106
|
+
assistant.settings = data;
|
|
105
107
|
}
|
|
106
108
|
|
|
107
109
|
// Process
|
|
@@ -5,7 +5,11 @@ const _ = require('lodash');
|
|
|
5
5
|
const JSON5 = require('json5');
|
|
6
6
|
|
|
7
7
|
const TOKEN_COST_TABLE = {
|
|
8
|
-
//
|
|
8
|
+
// Apr 9th, 2024
|
|
9
|
+
'gpt-4-turbo': {
|
|
10
|
+
input: 0.0100,
|
|
11
|
+
output: 0.0300,
|
|
12
|
+
},
|
|
9
13
|
'gpt-4-turbo-preview': {
|
|
10
14
|
input: 0.0100,
|
|
11
15
|
output: 0.0300,
|
|
@@ -27,6 +31,28 @@ const TOKEN_COST_TABLE = {
|
|
|
27
31
|
output: 0.0015,
|
|
28
32
|
},
|
|
29
33
|
|
|
34
|
+
// Mar 6th, 2024
|
|
35
|
+
// 'gpt-4-turbo-preview': {
|
|
36
|
+
// input: 0.0100,
|
|
37
|
+
// output: 0.0300,
|
|
38
|
+
// },
|
|
39
|
+
// 'gpt-4-vision-preview': {
|
|
40
|
+
// input: 0.0100,
|
|
41
|
+
// output: 0.0300,
|
|
42
|
+
// },
|
|
43
|
+
// 'gpt-4-1106-preview': {
|
|
44
|
+
// input: 0.0100,
|
|
45
|
+
// output: 0.0300,
|
|
46
|
+
// },
|
|
47
|
+
// 'gpt-4': {
|
|
48
|
+
// input: 0.0300,
|
|
49
|
+
// output: 0.0600,
|
|
50
|
+
// },
|
|
51
|
+
// 'gpt-3.5-turbo': {
|
|
52
|
+
// input: 0.0005,
|
|
53
|
+
// output: 0.0015,
|
|
54
|
+
// },
|
|
55
|
+
|
|
30
56
|
// Nov 6th, 2023
|
|
31
57
|
// 'gpt-4-turbo-preview': {
|
|
32
58
|
// input: 0.0100,
|
package/firebase-debug.log
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
[debug] [2023-03-24T23:10:48.343Z] ----------------------------------------------------------------------
|
|
2
|
-
[debug] [2023-03-24T23:10:48.344Z] Command: /Users/ian/.nvm/versions/node/v16.17.0/bin/node /Users/ian/.nvm/versions/node/v16.17.0/bin/firebase deploy
|
|
3
|
-
[debug] [2023-03-24T23:10:48.344Z] CLI Version: 11.8.0
|
|
4
|
-
[debug] [2023-03-24T23:10:48.344Z] Platform: darwin
|
|
5
|
-
[debug] [2023-03-24T23:10:48.345Z] Node Version: v16.17.0
|
|
6
|
-
[debug] [2023-03-24T23:10:48.346Z] Time: Fri Mar 24 2023 16:10:48 GMT-0700 (Pacific Daylight Time)
|
|
7
|
-
[debug] [2023-03-24T23:10:48.347Z] ----------------------------------------------------------------------
|
|
8
|
-
[debug]
|
|
9
|
-
[error]
|
|
10
|
-
[error] Error: Not in a Firebase app directory (could not locate firebase.json)
|