@fugood/bricks-project 2.23.0-beta.1 → 2.23.0-beta.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.
- package/package.json +2 -2
- package/types/generators/LlmGgml.ts +8 -0
- package/utils/data.ts +10 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fugood/bricks-project",
|
|
3
|
-
"version": "2.23.0-beta.
|
|
3
|
+
"version": "2.23.0-beta.2",
|
|
4
4
|
"main": "index.ts",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "node scripts/build.js"
|
|
@@ -14,5 +14,5 @@
|
|
|
14
14
|
"lodash": "^4.17.4",
|
|
15
15
|
"uuid": "^8.3.1"
|
|
16
16
|
},
|
|
17
|
-
"gitHead": "
|
|
17
|
+
"gitHead": "2176ba38968bb060ff039b3750e8a00684d5d221"
|
|
18
18
|
}
|
|
@@ -633,6 +633,14 @@ Default property:
|
|
|
633
633
|
completionTypicalP?: number | DataLink
|
|
634
634
|
/* Repeat alpha frequency penalty (default: 0.1, 0.0 = disabled) */
|
|
635
635
|
completionIgnoreEOS?: boolean | DataLink
|
|
636
|
+
/* Buttress connection settings for remote inference */
|
|
637
|
+
buttressConnectionSettings?:
|
|
638
|
+
| DataLink
|
|
639
|
+
| {
|
|
640
|
+
url?: string | DataLink
|
|
641
|
+
trpcPath?: string | DataLink
|
|
642
|
+
fallbackType?: 'use-local' | 'no-op' | DataLink
|
|
643
|
+
}
|
|
636
644
|
}
|
|
637
645
|
events?: {
|
|
638
646
|
/* Event triggered when context state changes */
|
package/utils/data.ts
CHANGED
|
@@ -79,6 +79,7 @@ type SystemDataName =
|
|
|
79
79
|
| 'systemOpenAIApiKey'
|
|
80
80
|
| 'systemAnthropicApiKey'
|
|
81
81
|
| 'systemGeminiApiKey'
|
|
82
|
+
| 'ggmlBackendDevices'
|
|
82
83
|
|
|
83
84
|
type SystemDataInfo = {
|
|
84
85
|
name: SystemDataName
|
|
@@ -468,6 +469,15 @@ export const systemDataList: Array<SystemDataInfo> = [
|
|
|
468
469
|
type: 'string',
|
|
469
470
|
value: '',
|
|
470
471
|
},
|
|
472
|
+
{
|
|
473
|
+
name: 'ggmlBackendDevices',
|
|
474
|
+
id: 'PROPERTY_BANK_DATA_NODE_9e8f7a6b-5c4d-3e2f-1a0b-9c8d7e6f5a4b',
|
|
475
|
+
title: 'SYSTEM: GGML Backend Devices',
|
|
476
|
+
description: 'Available GGML backend devices with supported generators',
|
|
477
|
+
schema: { type: 'object', allowNewItem: false, allowCustomProperty: false },
|
|
478
|
+
type: 'array',
|
|
479
|
+
value: [],
|
|
480
|
+
},
|
|
471
481
|
]
|
|
472
482
|
|
|
473
483
|
export const useSystemData = (name: SystemDataName): Data => {
|