@peopl-health/nexus 3.2.3 → 3.2.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.
|
@@ -775,8 +775,10 @@ class NexusMessaging {
|
|
|
775
775
|
logger.error('[CheckAfter] Error processing messages:', { chatId, error: error.message });
|
|
776
776
|
} finally {
|
|
777
777
|
if (typingInterval) clearInterval(typingInterval);
|
|
778
|
-
this.
|
|
779
|
-
|
|
778
|
+
if (this.activeRequests.get(chatId) === runId) {
|
|
779
|
+
this.processingLocks.delete(chatId);
|
|
780
|
+
this.activeRequests.delete(chatId);
|
|
781
|
+
}
|
|
780
782
|
if (this.abandonedRuns.size > 100) {
|
|
781
783
|
this.abandonedRuns.clear();
|
|
782
784
|
}
|
|
@@ -300,6 +300,7 @@ class OpenAIResponsesProvider {
|
|
|
300
300
|
this.client.responses.create({
|
|
301
301
|
prompt: promptConfig,
|
|
302
302
|
input: inputData,
|
|
303
|
+
instructions: instructions || additionalInstructions,
|
|
303
304
|
truncation: truncationStrategy,
|
|
304
305
|
}), { providerName: PROVIDER_NAME });
|
|
305
306
|
|