@contentgrowth/llm-service 0.6.97 → 0.6.98

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.97",
3
+ "version": "0.6.98",
4
4
  "description": "Unified LLM Service for Content Growth",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -139,7 +139,7 @@ export class GeminiProvider extends BaseLLMProvider {
139
139
  }
140
140
 
141
141
  if (tools && tools.length > 0) {
142
- requestOptions.tools = [{ functionDeclarations: tools.map(t => t.function) }];
142
+ requestOptions.config.tools = [{ functionDeclarations: tools.map(t => t.function) }];
143
143
  }
144
144
 
145
145
  console.log('[GeminiProvider] generateContent request:', JSON.stringify(requestOptions, null, 2));