Switching Wally to a Bring Your Own (BYO) endpoint
Open Settings → Wally model at /settings/wally. Only org owners and admins can change this setting; members see a read-only view.
To activate BYO:
1. Pick a preset. The page groups them by wire protocol:
• **AWS Bedrock** (Bedrock GovCloud, Bedrock commercial) — Turtini calls Bedrock InvokeModel directly and signs each request with your IAM credentials (SigV4), or sends a Bedrock API key. No proxy needed. Replies stream token by token.
• **Anthropic protocol** — the endpoint accepts Anthropic Messages API requests: Anthropic under your own account, a managed gateway, or Vertex AI behind your proxy.
• **OpenAI protocol** — vLLM, Red Hat AI Inference Server, OpenAI, Azure OpenAI, OpenRouter, or any OpenAI-compatible service. Turtini translates each request to Chat Completions and the response back. Tools and image input work; there is no prompt cache, chat replies arrive as one chunk, and PDFs cannot be read on this protocol.
2. Enter your endpoint URL — must be https. Examples:
• Bedrock GovCloud: https://bedrock-runtime.us-gov-west-1.amazonaws.com (the region is read from the host)
• A custom Anthropic-compatible gateway: your endpoint that speaks the Anthropic Messages API
• A vLLM/Red Hat AI Inference Server: https://your-vllm-host/v1/chat/completions
• An Azure OpenAI deployment: https://YOUR-RESOURCE.openai.azure.com/openai/deployments/YOUR-DEPLOYMENT/chat/completions?api-version=2024-08-01-preview (sent with your api-key header)
3. Model id — required for Bedrock (the model or inference-profile id your account can invoke). Optional elsewhere: on the OpenAI path set it to the model id your endpoint expects ("gpt-4o-mini", "meta-llama/Meta-Llama-3.1-70B-Instruct", your Azure deployment name).
4. Region — for Bedrock, only needed when the endpoint host does not name one. Elsewhere it is a label for the audit log.
5. Credential — for Bedrock, an IAM access key id and secret access key (plus a session token for temporary credentials), or a Bedrock API key. Elsewhere, your API key. Turtini stores it in its encrypted credential store for your organization (the same store as your other integration credentials). It never touches Firestore. Disconnecting destroys it; the audit log keeps the record that it existed.
6. Click "Activate."
7. Run "Test connection" — sends a minimal 16-token request to your endpoint. If your endpoint is not usable and requests would fall back to Turtini-hosted, the test fails and says so rather than passing on Turtini's account.
8. (Optional) Turn on "Require our endpoint." Any request your endpoint cannot serve is then refused with a message instead of running on Turtini's model account.
To rotate the key without changing the endpoint:
Paste a new key in the API key field and re-save. The endpoint config is unchanged; Secret Manager versions the key automatically and the latest version is read on every Wally call.
To disconnect entirely:
Turn off "Require our endpoint" if it is on, then click "Disconnect & return to Turtini-hosted." The saved credential is destroyed and your org doc's wallyModel config is cleared; the audit log keeps the record. AI features are back on Turtini-hosted models immediately.
Every change writes an entry to the platform audit log with the actor, the new preset, the endpoint URL, and a timestamp.