feat: add configurable Bailian AI cell call runtime

This commit is contained in:
2026-09-14 23:10:39 +08:00
parent 9bade94ada
commit 5dd69b8779
36 changed files with 6455 additions and 30 deletions
+27
View File
@@ -0,0 +1,27 @@
# Cell-local runtime injection. Do not commit real values.
AGENT_CALL_AI_PROFILE=/app/configs/ai-test.bailian.example.yaml
AGENT_CALL_PROMPT_FILE=/app/prompts/test-call.txt
AGENT_CALL_TENANT_KEY=tenant-demo-key
AGENT_CALL_EXECUTION_LEDGER=/data/cell-executions.sqlite3
# Real RabbitMQ on the same host or a protected management network.
RABBITMQ_URL=amqp://user:password@127.0.0.1:5672/%2F
# Bailian values are injected by the secret manager/environment.
BAILIAN_API_KEY=
BAILIAN_BASE_URL=https://dashscope.aliyuncs.com/compatible-mode/v1
BAILIAN_WSS_BASE_URL=wss://dashscope.aliyuncs.com/api-ws/v1/inference
BAILIAN_TTS_WSS_BASE_URL=wss://dashscope.aliyuncs.com/api-ws/v1/realtime
BAILIAN_TTS_MODEL=cosyvoice-v3.5-plus
BAILIAN_TTS_VOICE=
BAILIAN_ASR_MODEL=fun-asr-realtime
# Cell-local ARI/SIP settings; ARI stays on the host management interface.
CELL_ARI_URL=http://127.0.0.1:8088
CELL_ARI_USERNAME=outbound
CELL_ARI_PASSWORD=
CELL_ARI_APP=agent-call
CELL_SIP_TRUNK_ID=provider-primary
CELL_CALLER_ID=BD93205882
CELL_RTP_BIND_HOST=127.0.0.1
CELL_RECORDING_DIR=/data/recordings