@contentgrowth/llm-service 0.6.4 → 0.6.5

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.4",
3
+ "version": "0.6.5",
4
4
  "description": "Unified LLM Service for Content Growth",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -136,8 +136,7 @@ export class LLMService {
136
136
  */
137
137
  async chatCompletionJson(messages, tenantId, systemPrompt, schema = null, tools = null) {
138
138
  const options = {
139
- responseFormat: schema ? 'json_schema' : 'json',
140
- responseSchema: schema,
139
+ responseFormat: schema ? { type: 'json_schema', schema } : 'json',
141
140
  autoParse: true
142
141
  };
143
142