@onereach/step-voice 7.0.26-agenttimeout.1 → 7.0.26-agenttimeout.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.
@@ -43,6 +43,7 @@ class VoiceAgent extends voice_1.default {
43
43
  });
44
44
  this.triggers.otherwise(async () => {
45
45
  const { handlers = [], system_instruction = '', developer_messages = [], greeting_message = '', prevent_greeting_interruption = false, idle_detection_enabled = false, idle_timeout_secs = 8, idle_max_retries = 3, idle_prompts = [], idle_goodbye_message = '', custom_config_enabled = false, agent_url_overwritten = false, tool_feedback, soft_timeout, agent_url = '', mode = '', stt = {}, llm = {}, tts = {}, realtime = {} } = this.data;
46
+ this.log.warn('this.data', this.data);
46
47
  if (lodash_1.default.isEmpty(system_instruction)) {
47
48
  this.throwError(new Error('Voice Agent: system instruction is required'));
48
49
  }
@@ -117,12 +118,14 @@ class VoiceAgent extends voice_1.default {
117
118
  config.tool_feedback = validatedFeedback;
118
119
  }
119
120
  }
121
+ this.log.warn('tool_feedback', tool_feedback);
120
122
  if (soft_timeout != null) {
121
123
  const validatedSoftTimeout = this.validateSoftTimeout(soft_timeout);
122
124
  if (validatedSoftTimeout) {
123
125
  config.soft_timeout = validatedSoftTimeout;
124
126
  }
125
127
  }
128
+ this.log.warn('soft_timeout', soft_timeout);
126
129
  const params = { config };
127
130
  if (agentCustomUrl) {
128
131
  params.url = agentCustomUrl;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/step-voice",
3
- "version": "7.0.26-agenttimeout.1",
3
+ "version": "7.0.26-agenttimeout.2",
4
4
  "author": "Roman Zolotarov <roman.zolotarov@onereach.com>",
5
5
  "contributors": [
6
6
  "Roman Zolotarov",