astro-tractstack 2.2.0 → 2.2.1

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": "astro-tractstack",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Astro integration for TractStack - the free web press by At Risk Media",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -32,7 +32,7 @@ const callAskLemurAPI = async (
32
32
  input_text: context,
33
33
  final_model: '',
34
34
  temperature: 0.5,
35
- max_tokens: 6000,
35
+ max_tokens: 10000,
36
36
  };
37
37
 
38
38
  let resultData: any;
@@ -92,8 +92,8 @@ export const AiCreativeDesignStep = ({
92
92
  context: systemPrompt,
93
93
  expectJson: false,
94
94
  isSandboxMode,
95
- maxTokens: 6000,
96
95
  temperature: 0.5,
96
+ maxTokens: 20000,
97
97
  });
98
98
 
99
99
  const htmlAst = await htmlToHtmlAst(rawHtml, '');
@@ -59,8 +59,8 @@ export const AiRefineDesignStep = ({
59
59
  context: systemPrompt,
60
60
  expectJson: false,
61
61
  isSandboxMode,
62
- maxTokens: 4000,
63
62
  temperature: 0.5,
63
+ maxTokens: 8000,
64
64
  });
65
65
 
66
66
  // 2. Generate AST immediately
@@ -15,7 +15,7 @@ export const callAskLemurAPI = async ({
15
15
  context,
16
16
  expectJson,
17
17
  isSandboxMode,
18
- maxTokens = 2000,
18
+ maxTokens = 5000,
19
19
  temperature = 0.5,
20
20
  }: AiGenerationOptions): Promise<string> => {
21
21
  const tenantId =