@contentgrowth/llm-service 0.6.95 → 0.6.96

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": "@contentgrowth/llm-service",
3
- "version": "0.6.95",
3
+ "version": "0.6.96",
4
4
  "description": "Unified LLM Service for Content Growth",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -135,7 +135,7 @@ export class GeminiProvider extends BaseLLMProvider {
135
135
  };
136
136
 
137
137
  if (systemPrompt) {
138
- requestOptions.systemInstruction = systemPrompt;
138
+ requestOptions.config.systemInstruction = { parts: [{ text: systemPrompt }] };
139
139
  }
140
140
 
141
141
  if (tools && tools.length > 0) {
@@ -367,7 +367,7 @@ export class GeminiProvider extends BaseLLMProvider {
367
367
  };
368
368
 
369
369
  if (systemPrompt) {
370
- requestOptions.systemInstruction = systemPrompt;
370
+ requestOptions.config.systemInstruction = { parts: [{ text: systemPrompt }] };
371
371
  }
372
372
 
373
373
  console.log('[GeminiProvider] imageGeneration request:', JSON.stringify(requestOptions, null, 2));