@peopl-health/nexus 3.11.1 → 3.11.2

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.
@@ -432,7 +432,7 @@ class OpenAIResponsesProvider {
432
432
  }
433
433
  }
434
434
 
435
- return {
435
+ const result = {
436
436
  ...finalResponse,
437
437
  thread_id: threadId,
438
438
  assistant_id: assistantId,
@@ -447,6 +447,7 @@ class OpenAIResponsesProvider {
447
447
  preset_version: resolvedPresetVersion,
448
448
  preset: resolvedPresetId ? { id: resolvedPresetId, version: resolvedPresetVersion } : null,
449
449
  };
450
+ return result;
450
451
  }
451
452
 
452
453
  async transcribeAudio({ file, model, language, responseFormat, temperature, prompt } = {}) {
@@ -312,7 +312,7 @@ const replyAssistantCore = async (code, message_ = null, thread_ = null, runOpti
312
312
  }
313
313
  }
314
314
 
315
- return { output, tools_executed, prompt_config: run?.prompt || null, response_id: run?.id || null };
315
+ return { output, tools_executed, prompt: run?.prompt || null, preset: run?.preset || null, response_id: run?.id || null };
316
316
  } catch (error) {
317
317
  logger.error('[replyAssistant] Error in reply', {
318
318
  error: error.message,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@peopl-health/nexus",
3
- "version": "3.11.1",
3
+ "version": "3.11.2",
4
4
  "description": "Core messaging and assistant library for WhatsApp communication platforms",
5
5
  "keywords": [
6
6
  "whatsapp",