Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

perf: Allow to manage easily the audio stream

Clémence Lesné40c23e003eb1
diff --git a/app/helpers/call_utils.py b/app/helpers/call_utils.py
index 3e3ebb2..3587522 100644
--- a/app/helpers/call_utils.py
+++ b/app/helpers/call_utils.py
@@ -643,7 +643,7 @@ class EchoCancellationStream:
self,
sample_rate: int,
scheduler: Scheduler,
- max_delay_ms: int = 300,
+ max_delay_ms: int = 200,
packet_duration_ms: int = 20,
):
self._packet_duration_ms = packet_duration_ms
diff --git a/cicd/bicep/app.bicep b/cicd/bicep/app.bicep
index c232a86..138ddc3 100644
--- a/cicd/bicep/app.bicep
+++ b/cicd/bicep/app.bicep
@@ -225,8 +225,8 @@ resource containerApp 'Microsoft.App/containerApps@2024-02-02-preview' = {
}
]
resources: {
- cpu: 1
- memory: '2Gi'
+ cpu: json('1.25')
+ memory: '2.5Gi'
}
probes: [
{