fix(voice): prefer concise complete answers by default

This commit is contained in:
amirhosein mazaheri
2026-10-14 12:34:36 +03:30
parent 1f7c2bd195
commit d7b6d24465
4 changed files with 26 additions and 8 deletions
+11 -2
View File
@@ -1,7 +1,7 @@
# Isolated OpenAI Mini candidate and rollback
The original rag-api container is retained, with its image, environment and mounts.
The candidate rag-api-mini uses the separately built rag-api-model-switch:20261014
The candidate rag-api-mini uses the separately built rag-api-brief-answers:20261014
image and changes only OPENAI_REALTIME_MODEL to gpt-realtime-2.1-mini via
docker-compose.voice-candidate.yml. Local .env remains the original profile.
The old image is also tagged rag-api-rollback:20261014.
@@ -15,7 +15,7 @@ session. Do not run compose down, container rm, or image pruning for this workfl
Build the candidate without replacing the current container:
```powershell
docker build -t rag-api-model-switch:20261014 .
docker build -t rag-api-brief-answers:20261014 .
```
Switch after tests pass (if startup/readiness fails, stop the candidate and start
@@ -59,3 +59,12 @@ Original container ID remains
65c9fa765c150467bde2d6336b09fb46d5ffe451d1117eb1ab93a7bacff1037d,
with its original image and configuration; it is stopped, not removed.
The unrelated pre-existing .gitignore edit is excluded from this change.
## Concise delivery default
OpenAI delivery v7 requests the supported fact first, short complete answers by
default, all requested parts and material conditions/exceptions preserved, and
full detail on explicit request. Repeated introductions, generic service menus
and invitations are discouraged. Output-token limits and speed are unchanged.
This is model instruction guidance, not a measured quality or cost guarantee.
The existing original rag-api container remains the rollback target.