Skip to content

Commit fd286b2

Browse files
committed
ux: Lower thresholds for timeout static prompt triggers
1 parent bd1831b commit fd286b2

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -472,8 +472,8 @@ Conversation options are represented as features. They can be configured from Ap
472472

473473
| Name | Description | Type | Default |
474474
|-|-|-|-|
475-
| `answer_hard_timeout_sec` | Time waiting the LLM before aborting the answer with an error message. | `int` | 40 |
476-
| `answer_soft_timeout_sec` | Time waiting the LLM before sending a waiting message. | `int` | 15 |
475+
| `answer_hard_timeout_sec` | Time waiting the LLM before aborting the answer with an error message. | `int` | 15 |
476+
| `answer_soft_timeout_sec` | Time waiting the LLM before sending a waiting message. | `int` | 4 |
477477
| `callback_timeout_hour` | The timeout for a callback in hours. Set 0 to disable. | `int` | 3 |
478478
| `phone_silence_timeout_sec` | Amount of silence in secs to trigger a warning message from the assistant. | `int` | 20 |
479479
| `recognition_retry_max` | TThe maximum number of retries for voice recognition. Minimum of 1. | `int` | 3 |

app/helpers/features.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ async def answer_hard_timeout_sec() -> int:
2020
Time waiting the LLM before aborting the answer with an error message.
2121
"""
2222
return await _default(
23-
default=40,
23+
default=15,
2424
key="answer_hard_timeout_sec",
2525
type_res=int,
2626
)
@@ -31,7 +31,7 @@ async def answer_soft_timeout_sec() -> int:
3131
Time waiting the LLM before sending a waiting message.
3232
"""
3333
return await _default(
34-
default=15,
34+
default=3,
3535
key="answer_soft_timeout_sec",
3636
type_res=int,
3737
)

cicd/bicep/app.bicep

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -996,8 +996,8 @@ resource assignmentAppConfigurationDataReader 'Microsoft.Authorization/roleAssig
996996

997997
resource configValues 'Microsoft.AppConfiguration/configurationStores/keyValues@2023-03-01' = [
998998
for item in items({
999-
answer_hard_timeout_sec: 40
1000-
answer_soft_timeout_sec: 15
999+
answer_hard_timeout_sec: 15
1000+
answer_soft_timeout_sec: 4
10011001
callback_timeout_hour: 3
10021002
phone_silence_timeout_sec: 20
10031003
recognition_retry_max: 2

0 commit comments

Comments
 (0)