@fugood/bricks-project 2.24.0-beta.31 → 2.24.0-beta.33

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.
@@ -712,6 +712,7 @@ export const templateActionNameMap = {
712
712
  chatTemplateKwargs: 'GENERATOR_LLM_CHAT_TEMPLATE_KWARGS',
713
713
  addGenerationPrompt: 'GENERATOR_LLM_ADD_GENERATION_PROMPT',
714
714
  now: 'GENERATOR_LLM_NOW',
715
+ forcePureContent: 'GENERATOR_LLM_FORCE_PURE_CONTENT',
715
716
  },
716
717
  GENERATOR_LLM_COMPLETION: {
717
718
  sessionKey: 'GENERATOR_LLM_SESSION_KEY',
@@ -732,6 +733,7 @@ export const templateActionNameMap = {
732
733
  chatTemplateKwargs: 'GENERATOR_LLM_CHAT_TEMPLATE_KWARGS',
733
734
  addGenerationPrompt: 'GENERATOR_LLM_ADD_GENERATION_PROMPT',
734
735
  now: 'GENERATOR_LLM_NOW',
736
+ forcePureContent: 'GENERATOR_LLM_FORCE_PURE_CONTENT',
735
737
  grammar: 'GENERATOR_LLM_GRAMMAR',
736
738
  stopWords: 'GENERATOR_LLM_STOP_WORDS',
737
739
  predict: 'GENERATOR_LLM_PREDICT',
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@fugood/bricks-project",
3
- "version": "2.24.0-beta.31",
3
+ "version": "2.24.0-beta.33",
4
4
  "main": "index.ts",
5
5
  "scripts": {
6
6
  "typecheck": "tsc --noEmit",
7
7
  "build": "bun scripts/build.js"
8
8
  },
9
9
  "dependencies": {
10
- "@fugood/bricks-cli": "^2.24.0-beta.31",
10
+ "@fugood/bricks-cli": "^2.24.0-beta.33",
11
11
  "@huggingface/gguf": "^0.3.2",
12
12
  "@iarna/toml": "^3.0.0",
13
13
  "@modelcontextprotocol/sdk": "^1.15.0",
@@ -24,5 +24,5 @@
24
24
  "peerDependencies": {
25
25
  "oxfmt": "^0.36.0"
26
26
  },
27
- "gitHead": "21f3d8bd4475da7965b12ce5c14c43dcb9c7b1c2"
27
+ "gitHead": "f8d104d4eab5ef41b105879d97b6da4030147cf0"
28
28
  }
@@ -147,6 +147,11 @@ export type GeneratorLLMActionProcessPrompt = ActionWithParams & {
147
147
  value?: string | DataLink | EventProperty
148
148
  mapping?: string
149
149
  }
150
+ | {
151
+ input: 'forcePureContent'
152
+ value?: boolean | DataLink | EventProperty
153
+ mapping?: string
154
+ }
150
155
  >
151
156
  }
152
157
 
@@ -244,6 +249,11 @@ export type GeneratorLLMActionCompletion = ActionWithParams & {
244
249
  value?: string | DataLink | EventProperty
245
250
  mapping?: string
246
251
  }
252
+ | {
253
+ input: 'forcePureContent'
254
+ value?: boolean | DataLink | EventProperty
255
+ mapping?: string
256
+ }
247
257
  | {
248
258
  input: 'grammar'
249
259
  value?: string | DataLink | EventProperty
@@ -452,6 +462,7 @@ Default property:
452
462
  "completionEnableThinking": true,
453
463
  "completionAddGenerationPrompt": true,
454
464
  "completionChatTemplateKwargs": {},
465
+ "completionForcePureContent": false,
455
466
  "completionUseReasoningFormat": "auto",
456
467
  "completionStopWords": [],
457
468
  "completionPredict": 400,
@@ -620,6 +631,8 @@ Default property:
620
631
  completionNow?: string | DataLink
621
632
  /* Additional keyword arguments for chat template (object) */
622
633
  completionChatTemplateKwargs?: {} | DataLink
634
+ /* Force pure content (accept any model that has a chat_template without requiring template validation) */
635
+ completionForcePureContent?: boolean | DataLink
623
636
  /* Use reasoning format for enhanced response structure
624
637
  `auto` - Auto-determine the reasoning format of the model
625
638
  `none` - Disable reasoning format */