Skip to content

fix(vapi): stop the agent inventing lookup results and mishearing caller names - #56

Merged
leggetter merged 1 commit into
mainfrom
fix/vapi-agency-prompt-transcriber
Nov 25, 2026
Merged

leggetter merged 1 commit into
mainfrom
fix/vapi-agency-prompt-transcriber

Conversation

@leggetter

Copy link
Copy Markdown
Collaborator

Scripted test calls against the agency-routing demo on 24 Nov showed three problems:

  • gpt-4o answered the async tool's Success. placeholder with a made-up appointment before the real result arrived, and sometimes read "Account lookup finished" aloud. The default model is now gpt-4.1, which waited for the real result in a two-call test. The prompt also forbids saying "Account lookup finished" and says what to do when no customer is found.
  • Deepgram often transcribed "Priya Shah" as "Priya Sharp", so the lookup found no customer. Each assistant now sets transcriber to Deepgram nova-3, with keyterm listing that client's CRM names.
  • The suggested caller line is now "when's my next appointment?".

Applied to the live demo assistants with npm run setup. One scripted two-call take afterwards was clean.

🤖 Generated with Claude Code

Posted by an AI agent with human oversight.

…ler names

Default model gpt-4.1 (gpt-4o answered the async tool's "Success." placeholder
with a made-up appointment), prompt rules against reading "Account lookup
finished" and for the no-customer case, Deepgram nova-3 keyterm with each
client's CRM names, and the caller line "when's my next appointment?".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leggetter
leggetter merged commit 304f6bc into main Nov 25, 2026
11 checks passed
@leggetter
leggetter deleted the fix/vapi-agency-prompt-transcriber branch November 25, 2026 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant