Skip to main content
Deepgram's Docs

Search documentation

Type to search this documentation.

On this pageOverview

February 25, 2026

UpdateThink: Replace Think Provider Mid-Conversation

Section titled “UpdateThink: Replace Think Provider Mid-Conversation”

You can now dynamically replace the entire Think provider configuration during a live Voice Agent conversation using the new UpdateThink client message. This allows you to switch to a different LLM provider, change the model, set a completely new prompt, and reconfigure functions — all in a single message.

Unlike UpdatePrompt, which adds to the existing prompt, UpdateThink replaces the full Think provider configuration, giving you complete control over the agent's reasoning setup mid-conversation.

Example:

JSON
{
    "type": "UpdateThink",
    "think": {
        "provider": {
            "type": "open_ai",
            "model": "gpt-4o-mini"
        },
        "prompt": "You are a helpful voice assistant."
    }
}

The server confirms the change with a ThinkUpdated response message.

For more details, visit the UpdateThink documentation.

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu