Skip to main content

Overview

The AI Providers page is where administrators connect the model providers Genesis uses for chat, embeddings, and decisions. The page supports a primary provider view for already connected services and a catalog of additional providers that can be connected when needed. The provider selected in AI Providers is the source for active LLM routing; a leftover BOT_OS_DEFAULT_LLM_ENGINE or CORTEX_MODE server environment variable is ignored. Users with access_config_panel can manage shared provider settings and model assignments. Creating a connection or changing its credentials also requires manage_secrets; without those permissions, the provider list remains visible but mutation controls are hidden. For how white-labeling changes the AI service’s display name, see Branding. On Genesis Desktop, company AI must first be confirmed in the app; AI Providers also displays the confirmed company choice. Desktop’s company-AI model checks and switching details are in Genesis Desktop. For connected Desktop AI management, including how to choose a provider again, see Genesis Desktop. Confirming a company AI alone does not change image or speech routing; the image source is selected separately on AI Providers. See Genesis Desktop for Desktop’s image-generation behavior.

Genesis AI switch on Desktop

On Genesis Desktop, Settings → AI Providers can turn Genesis AI off for this computer. desktop.genesis_ai_enabled (bool, default true) controls whether Desktop may send requests to Genesis AI. When false, chat, embeddings, voice, spoken replies, image generation, and Genesis AI web search do not use Genesis AI; work the confirmed company AI cannot do is unavailable instead of falling back to Genesis AI. Turning Genesis AI off requires a company AI confirmed for chat and embeddings that do not use Genesis AI. Turning it back on is always allowed. The AI Providers page is the only writer; an environment override (GENESIS__DESKTOP__GENESIS_AI_ENABLED) prevents changing the switch there. This setting has no effect on server Genesis, where administrators deny Genesis AI on the Providers tab instead. To test Genesis AI, use Test Connection on its card; the result appears on the card. See Genesis AI connection test for the request and response details. After an upgrade, Genesis Desktop waits to start the post-upgrade advisor until the app is unlocked and its AI provider is settled after sign-in. When Genesis AI is the only provider, this includes completing the automatic switch to Genesis AI; otherwise, an AI choice must be recorded. If the provider does not settle within one hour, that advisor run is skipped. Hosted deployments do not wait on this Desktop check.
Configure chat model tiers and embedding models from Config -> AI Providers using Change Models and the Embeddings tab. The legacy LLM Overrides page and its /api/config/llm/env read/write endpoints are no longer available.
Genesis ships three AI Providers views. Current (/config/ai-providers/) is the redesigned page, Legacy (/config/llm-providers/) is the previous page, and Beta (/config/ai-providers/next/) separates connected providers from the providers each job uses. features.ai_providers_default_page (default current) chooses the page everyone opens; accepted values are current, legacy, and next. The Current | Legacy | Beta switch appears on every AI Providers page. Each person starts on the selected page until they choose another with the switch; their choice is remembered in their browser for the sidebar entry and links to the pages.features.ai_providers_beta_defaults (default false) controls whether the Beta defaults apply to every page and connection path. When off, the other pages and runtime keep their pre-Beta behavior, while only the Beta page reads the new settings. When on, the Genesis AI connect switch is enforced everywhere and image understanding uses vision support from the model catalog. For AWS Bedrock image analysis, Genesis uses the saved connection; see Image Tools. The former features.show_beta_ai_providers setting is no longer read.The AI Providers Beta defaults take effect at the next start after you turn on features.ai_providers_beta_defaults; they remain inactive until that start carries the earlier setup over. Turning the setting off and on again waits for the next start to carry it over again. Outside Genesis Desktop and Try Me, that start keeps these parts of the earlier setup:
  • If voice.enabled was saved off or set off by an environment variable, Voice mode stays off.
  • If no provider was chosen on the Image generation card, Genesis records the earlier image provider as an explicit choice: Genesis AI when chat uses it; AWS Bedrock when images.generation_model or IMAGE_GENERATION_MODEL names a Bedrock image model; otherwise an admitted OpenAI provider key, which Genesis records as allowed to pay for images. The Image generation card labels a carried-over choice “Carried over from your earlier settings.” If none applies, the choice remains Follow chat. If an OpenAI key cannot be read, Genesis does not keep it for images; Image generation stays on Follow chat. Once the key works, allow OpenAI for images on the Image generation card in Settings > AI Providers.
Earlier, a named Bedrock image model used the server’s AWS credentials. A kept AWS Bedrock choice now uses the Bedrock connection on Settings > AI Providers. Connect and allow Bedrock there to generate images. Until then, Image generation is refused, and the server log explains why; Genesis does not switch providers.If chat uses a LiteLLM proxy, Image generation stays on Follow chat and uses the proxy’s image model. If the proxy has no image model, choose a provider on the Image generation card in Settings > AI Providers. A person’s own Image Analysis key or a key held only in memory can still read images, but can no longer generate them.Turning off the AI Providers Beta defaults restores the earlier Image generation rules at the next start, unless an administrator changed the Image generation choice after Genesis kept it.

Decision models

On Config → AI Providers → Beta → Decisions, an administrator can choose a connected decision provider and model, then set which decision points use it. The provider reuses its saved AI Providers connection; a self-hosted System One server uses its own address and optional bearer key. The text being judged is sent to the selected provider. Open Advanced Settings → Decision from the card to configure the timeout, input limit, or self-hosted server details. The model picker prefers clef for LiteLLM Proxy when available, gemini-decision-1 for Gemini, and snowflake-decision-fast for Snowflake Preview. Saving a LiteLLM Proxy does not select a decision model. Choose the provider and model here explicitly: a selected provider is the one switch that allows every decision point set to Compare only or On to send its text to that provider. With decision.active_provider set to none, no decision point calls a decision model, regardless of its own setting. Each point now starts in its active mode once a provider is selected. The Slack watch-triage point defaults to On: a clear decision-model answer decides, while an unclear answer falls back to the Fast model. A settled decision does not spend the Slack watch-triage budget. Compare only keeps the Fast model’s decision and records whether the decision model agreed. The other points are Thread reply routing (default Compare only), which measures whether an untagged reply in a Slack thread was meant for the agent after its turn ends but does not prevent that turn, and Suggested reply (default On). For suggested replies, a clear decision that no reply is expected, or that a reply is expected but the agent asks for a secret, suppresses the suggestion and skips the Fast-model call; uncertainty leaves the decision to the Fast model. In Compare only, the Fast model still decides and Genesis records whether the decision model agreed. With no decision model configured, all points behave as off. Compare-only requests run after the local decision, off the caller’s path. At most two comparisons may be in flight per server process, with no more than one per decision point; when both slots are busy, that point already has a comparison in flight, or the serving loop is unavailable, the comparison is skipped rather than queued. Skipped counts are grouped by point and logged no more than once a minute with event_type: "decision_comparisons_skipped". By default, decision.junctures.thread_reply_routing ("shadow"), decision.junctures.ticket_comment_gate ("shadow"), and decision.junctures.goal_progress ("shadow") use this behavior when a provider is configured. decision.active_provider defaults to "none", so decision-model requests are disabled until a provider is selected; other points can also be set to shadow as shown below. Provider, model, and related configuration changes are recorded in the Admin Audit Log with the acting person and masked old and new values.

Connect a server Genesis to Genesis AI

An administrator can connect a Genesis install (self-hosted, hosted, on Snowflake or on Databricks) to a Genesis AI account from Config -> AI Providers -> New Connection. Choose the Genesis AI tile to start; Genesis displays a one-time code and verification link to approve on the Genesis AI website. While approval is pending, the AI Providers list shows the code and checks its status. Once connected, Genesis AI appears in the provider list with the linked account and usage information. Before a connection attempt or account link exists, it is offered in New Connection rather than as a connected-provider row. Genesis stores the link key as the separate genesis_ai provider without making it active; the company’s own providers, including its LiteLLM proxy, remain unchanged. Genesis AI can be selected for chat and embeddings, and supplies speech and image generation. Connecting does not change the active chat provider or replace an existing embedding provider. On the Beta view, choose Genesis AI from the Chat tab’s provider picker; on the other views, an administrator can select Use for chat on the Genesis AI row. If the key is already stored, this activates it without issuing another key. For a link created before Genesis AI had its own provider, Add models stores a fresh key there first. Disconnecting while Genesis AI is the active chat provider requires confirmation that chat will stop until another provider is selected. The provider remains named Genesis AI in provider lists and pickers when white-labeling is on; the configured product name applies to product/install text, not this provider’s identity. genesis_ai_link.enabled (default true) controls whether an administrator may start a new link from AI Providers, the genesis genesis-ai command, or an activation token. With features.ai_providers_beta_defaults=true, setting it to false hides the Genesis AI option on the Beta page and New Connection, refuses new connection attempts, and does not complete a code already shown. A link that is already connected remains active until an administrator disconnects it. Before the Beta defaults are enabled, only the Beta page honors this switch; Desktop and hosted Try Me do not use it. On a server Genesis, an administrator can also choose a separate speech route after Genesis AI is set up: use the Voice tab on Beta, or Use for speech on the Genesis AI row on the other views. This routes speech to Genesis AI while chat stays on its current provider; when Genesis AI is already the chat provider, speech follows it and the separate choice is not offered. Stop using for speech returns speech to following chat. If Genesis AI is selected for speech but its key cannot serve speech, Genesis reports that failure rather than switching speech to another billed provider. The choice is stored in llm.speech_provider (default "", which follows chat); genesis_ai selects Genesis AI independently. This choice is not used on Genesis Desktop or Try Genesis. The provider values are managed by the link and model controls; do not edit them by hand. Their configuration paths and schema defaults are: The chat aliases are genesis-ai and genesis-ai-fast; the embedding alias is genesis-ai-embed. The link uses only Genesis AI’s own models. Chat and Genesis AI web search using the link’s key count against this install’s monthly Genesis AI allowance. The AI Providers row shows usage as a percentage of that allowance, not as a monetary amount. At 80% used, it warns that Genesis AI pauses at 100%; once the allowance is used, chat pauses for this install until the allowance resets. When available, the row shows the reset day in the reader’s local date format. When a real license is activated on this Genesis, connecting sends its license key to the configured Genesis AI website so the installation can use its own license cap. The key is sent only over HTTPS, or plain HTTP to a loopback address for development. With plain HTTP to any other host, Genesis omits the key and the connection uses the approver’s allowance instead. The approver sees the install’s server.instance_name when it is a chosen name, otherwise the external host used to reach Genesis when available; a chosen install name is combined with that identity when needed to distinguish installations. Set genesis_ai_link.provisioner_url only to a Genesis AI website you trust. The link is not offered by Genesis Desktop or hosted Try Me, which get Genesis AI from their own sign-in. The Genesis AI link API must be enabled by Genesis before connections can be opened; if a connection attempt reaches an unavailable link service, AI Providers explains that connections are not open yet instead of showing a raw transport error. SPCS and Databricks Apps need outbound access to the configured Genesis AI website. Set genesis_ai_link.provisioner_url in Genesis configuration to use a different Genesis AI website. It defaults to https://try.genesiscomputing.io. The API operations and their administrator access are documented in the Genesis AI link API reference. For a server set up without a browser, an administrator can create a one-time activation token (gat_...) on the Genesis AI website and configure it as genesis_ai_link.activation_token (default ""), or provide it through GENESIS_AI_ACTIVATION_TOKEN. Genesis tries the token once at startup when it does not already have a link, then stores the resulting link credential as a server-side secret. The token is separate from how people sign in to Genesis; an invalid, expired, withdrawn, or already-used token does not connect the server, and its error appears on Config → AI Providers. For Kubernetes, store the token in an existing Secret and reference it through the Helm chart’s secrets.existingSecretGenesisAiActivationToken values (see the Helm Chart Values Reference). Do not put the token in Helm values or a ConfigMap. To rotate an existing link credential, use the CLI or the administrator-only API operation documented in the Genesis AI link API reference. An operator with shell access can also connect interactively using genesis genesis-ai connect [--name "Production Genesis"]. The command prints the approval URL and code; approve them in any browser signed in to Genesis AI. The command polls until approval or expiry, and Ctrl-C cancels the pending request. The CLI shares the same link and server-side credential as AI Providers; shell access is its authorization. Use genesis genesis-ai status to inspect the link, genesis genesis-ai rotate to replace its credential, or genesis genesis-ai disconnect to remove it. status only reads the current state; it does not redeem a configured activation token.

Voice in chat

An administrator enables voice with voice.enabled (default false). On a server Genesis, the Beta view of Config → AI Providers chooses the voice source: Genesis AI, the OpenAI provider key, or Off. OpenAI sessions are billed to that provider key’s account while the session is open. Connecting Genesis AI fills empty voice and image-generation slots when Beta defaults are enabled or the connection is made from the Beta page; existing choices are left alone. If a selected provider is removed or denied, Genesis chooses another available source and shows a one-time notice on the Voice card. The Voice mode (Talk) switch controls the Talk button in the app; turning it off does not disable voice in meetings or presentations. Desktop and hosted Try Me use their own Genesis AI account and do not use the server’s choices. See Talk to an agent by voice for how to use voice. The OpenAI voice and image consent belongs to the saved API key, not just the provider. Replacing it with a different key clears the consent, so voice and/or images are no longer allowed on OpenAI until an administrator allows them for the new key; Genesis warns where to do this. On an OpenAI edit in AI Providers (Beta), the consent boxes start from the saved key’s choices and become unticked when new credential input is entered. Select voice and/or images in the OpenAI connection’s Use for list for the new key. Re-saving the same key preserves its consent. On the Beta AI Providers page, the Chat and Embeddings cards’ switch dialogs list the provider currently in use first and mark it (current). Continue stays disabled until you choose a different provider; the next step explains what the switch changes before you confirm. If the current provider is not one of the available choices, it is still shown as current with a note that it cannot be selected.

Test voice and image generation

On the Beta AI Providers page, administrators can test the job a slot uses now. Test Connection on the Voice card starts a real, short Talk session from a browser WebRTC offer and ends it immediately; it does not use the microphone. The session is billed at its minimum by the current voice source (OpenAI from session start or Genesis AI credits). The test is unavailable while Voice mode (Talk) is off. Test Connection on the Image generation card makes one low-cost image on the current image source and discards it. The provider bills the request; image generation can take about a minute. When an administrator runs the single-step provider test from New Connection, Genesis also tests voice and/or images after the provider and model checks if that provider currently serves those jobs. These job tests exercise the actual voice or image path, not just the provider’s connection credentials. Genesis AI voice is billed while the session is open. Desktop uses its Genesis AI account when available and otherwise its local OpenAI voice key; that key never reaches the browser. Genesis Desktop and hosted Try Me use their own Genesis AI account and do not use voice.byo_connection. For the shared OpenAI (voice) connection and its billing, see OpenAI (voice) connections. Actual Genesis AI Providers page showing configured and available chat model providers.

Main page areas

On the current AI Providers page, changing the default model tier for new chats asks for confirmation before applying the tier to new chats across all agents. On the Beta view, tabs separate Providers, Chat, Embeddings, Voice, and Image generation. The Providers tab lists each configured provider’s capabilities and connection status; capability tags indicate which jobs currently use it. Connection setup, edit, rotation, and disconnect actions are on that tab. Each job tab has its provider choice, current routing, and the job’s settings. A link can open a tab with ?tab=providers, ?tab=chat, ?tab=embeddings, ?tab=voice, or ?tab=images; without a recognized value, the page opens Providers. To change a job’s provider, choose Switch … provider, select an available provider, and review the confirmation describing what changes before applying it. Nothing switches until you confirm. An embeddings switch confirms that existing documents will be re-embedded; a chat switch changes the provider used for new chats across agents. In the Beta New connection drawer, Use this for lists the jobs the provider can serve. A chat or embeddings job currently served by another provider starts unchecked; ticking it makes the new provider the default for that job after its connection is saved. Chat changes the default for every agent, while switching embeddings activates the selected model and re-embeds existing documents. Voice and image jobs served elsewhere have no checkbox here; change those on their own tabs. Any voice or image use of an OpenAI key is billed to that account and requires the separate consent shown in the drawer. Changing the embedding provider requires confirmation because it re-indexes documents. The Voice tab offers Genesis AI, OpenAI when its own API is connected, and Off, plus a Talk switch. The Image generation tab offers Follow chat or a connected provider that supports images, and an optional model override. OpenAI choices require confirmation because those calls are billed to the OpenAI account. When a provider is connected, Genesis fills empty voice and image-generation slots with it; it does not replace a slot already in use. The page shows a one-time notice when Genesis changes a source by itself. Chat also reports which tiers lack image understanding and whether an image fallback is available. In New connection, providers already configured on this server remain visible but disabled, marked Already set up; providers whose setup is unfinished are marked Setup not finished. Use the provider’s row on the AI Providers page to change or continue that connection. A server Genesis AI connection that is connected or awaiting review is shown the same way; Desktop and Try Genesis do not offer that connection tile. The drawer lists providers available to choose before the disabled providers, and shows the change/continue note only when a matching configured provider is in the current search results. On the Current page, a configured connection with denied admission shows an Enable control; providers already admitted do not show a toggle. Enabling sets admission to auto; parameter sufficiency is evaluated separately. If no chat provider is selected and this is the sole eligible chat provider, Genesis may select it; admission changes do not select an embedding provider. Setting admission to deny refuses provider use and clears it as the active chat provider when selected, without deleting its saved connection, credentials, or embedding identity. The admission setting is available in APP_CONFIG at these paths. Each setting is a string that accepts auto or deny, and defaults to auto. The former <PROVIDER>_ENABLED environment variables and the GENESIS__PROVIDERS__<P>__CONFIGURED override are retired. The one-time aa017_provider_admission migration carries an explicitly stored providers.<p>.configured: false value to providers.<p>.admission: deny. The stored marker itself is kept for rollback to v1.19.95; readiness in the newer version never reads it. Retention does not expire by calendar date. A separate release must explicitly retire these markers after the supported rollback window closes. This compatibility preserves providers configured before the upgrade, with unchanged provider settings and deployment inputs. It does not synchronize providers added, enabled, disabled, or deleted on the newer version back to the old marker. Those changes require recovery after rollback; in particular, a provider disabled on the newer version can appear enabled again on v1.19.95. Keep a pre-upgrade configuration/database backup when changes during the upgrade window may need to be reversed. This marker compatibility alone does not guarantee rollback across unrelated database schema migrations. The Embeddings tab and the Current AI Providers hero card also show an embedding health notice. It reports whether Digital Twin has verified that the configured provider and model can actually embed; the provider and model fields alone only show recorded configuration. The notice carries Twin’s explanation for working, not working, or not yet verified. When no embedding client is configured, it shows Embeddings are not configured instead of the neutral Embedding status unknown state; configure an embedding provider and model before expecting semantic search to work. If Twin cannot provide a verdict for a configured client, it shows Embedding status unknown rather than treating the recorded configuration as proof that embeddings work. For the status values and diagnostic reason, see Lineage Tools. Genesis refreshes the notice after the active embedding provider or model changes, when a provider is removed, and after an embedding-model connection test; you do not need to reload the page to see the new status. On the Current page (/config/ai-providers/), the same work is organized as: Genesis leaves provider credential environment variables untouched in Standalone mode, including when a saved provider is updated or deleted; remove an unwanted variable from the deployment or launcher environment separately. While Genesis Desktop is connected, Genesis strips provider credential variables from its own environment on startup and after provider or Desktop-mode changes because AI calls go through the linked server. A provider denied by policy but with no saved credentials or configuration is not treated as a connection: it stays available in the New connection picker and does not appear in the Connected list. A disabled setup stage alone does not add a provider to the list; configured providers and providers with saved credentials remain visible there with the Disabled badge. Current page setup stages (shown as badges on connection rows):
When authentication is enabled, the page stays in a loading state until /api/rbac/me/permissions resolves. Admins should not see a blank page on first navigation after login while permissions are still loading.

Typical workflow

  1. Open Config -> AI Providers.
  2. Review the currently configured provider.
  3. Use Connect for a new provider or Change Models for an existing provider.
  4. Set a default provider when multiple options are available.
  5. Open the Embeddings tab (/config/llm-providers/?tab=embeddings on Legacy, or /config/ai-providers/?tab=embeddings on Current) when search and indexing should use a different provider or model than chat.
  6. On the Embeddings tab, pick a configured provider tile, choose an embedding model from the searchable dropdown, and save. Saving a preference for a provider that is not active leaves the current embedding unchanged and does not reindex; if no active embedding identity exists, first-save adoption may establish one without reindexing an older embedding space. Changing the model for the active provider, or choosing Set Active for Embeddings on a different provider, asks you to confirm before applying the change. After confirmation, Genesis points document indexes to the new model-specific Chroma collection and starts a full background re-embed of documents from prior collections. Until that completes, indexes that exist only in a prior collection appear in Config → Documents with a Needs reindex badge.
For in-product recovery when an AI provider needs a user OAuth sign-in again, see Chat and Threads. In the Current page’s New connection drawer, non-Azure providers use separate test steps: Test Connection validates the provider, then Test Models validates each selected Premier, Main, and Fast chat model with a live call; when an embedding model is configured for an embedding-capable provider, that model is tested too. The Next button remains available if a test has not passed, so testing is optional. If the selected model assignments cannot load, the drawer reports the loading error and offers a retry. Azure keeps model selection before its combined provider-and-model test because the provider must be named before its model can be resolved. When the drawer opens from the Embeddings context, choose the embedding model first; Test Connection then tests that selected embedding model. In Select Chat Models, use the Test button beside a tier to check its currently selected model. Changing a tier selection clears its previous test result. If you interacted with the models and try to leave while any shown tier is unverified or failing, the drawer asks whether to leave; opening the step and closing it without changing anything does not trigger the prompt. The wizard runs up to three model checks at once and reports each check’s elapsed time; after three seconds it notes that a slow check may still be running. Each model check makes one request, capped at 1,024 output tokens and 60 seconds. When available, a credential field links to the provider’s key-creation page. Prefix checks warn, but do not block saving, when a Databricks token does not start with dapi, an OpenAI key with sk-, an Anthropic key with sk-ant-, or a Gemini key with AIza. On the wizard’s Done step, the chat and embeddings checkboxes are choices, not immediate switches. Finish applies the selected activations; a failed activation leaves the wizard open. Chat activation sets that provider as the default model for every agent. Embeddings activation uses the provider’s saved embedding model and starts a full background re-embedding of existing documents. For LiteLLM Proxy, an ordinary reconfiguration or credential rotation keeps the existing chat-tier assignments. When a configured proxy has no assigned model, choose Continue setup from its connection row to explicitly discover models and initialize the assignments. On SPCS, the first save can preserve the provider credentials while External Access is pending; after Approve External Access, use Continue setup to run the access check and model setup again. A successful access check with an empty catalog is reported as a save result rather than as a credential failure. The first successful save also records the backing connection with the authentication mode selected for the provider; OAuth settings do not require a follow-up save to persist. In the LiteLLM Proxy configuration form under Config -> AI Providers, admins can choose the OAuth credential policy and save it with the provider settings. When Genesis sign-in is disabled, a per-user OAuth policy shares the same Genesis user grant across users; the form warns about this and offers a switch to service_account. The More options disclosure contains the Anthropic Messages base URL and optional default, Premier, Fast, and embedding model names. Leave a model field blank to use discovery or the existing assignment. These explicit names also let admins configure a gateway that does not list its models; see LiteLLM Proxy configuration endpoints for request behavior. When Genesis’s initial proxy activation check runs after a per-user OAuth sign-in, the grant can be stored even if the proxy refuses it; the connection form reports the refusal instead of presenting the sign-in as a working connection. If a LiteLLM Proxy ignores deferred tool loading, Genesis sends administrators a bell notice and stops sending that endpoint the full tool list on every request. The endpoint is checked again every 24 hours; when it honors deferred loading, Genesis resumes it and removes the notice. A known cause is LiteLLM Proxy 1.79.3 or earlier; upgrade the proxy to resolve it. LiteLLM Proxy Test Connection resolves secret references in submitted credentials and reports categorized causes for common failures. For a saved per_user_oauth configuration, when the test request keeps that policy, an administrator’s test uses their own OAuth grant and checks the saved settings, not unsaved edits; connect OAuth first if that account has no usable grant. See the connection test response details.
In Change Models on the Chat tab, the model pickers for chat assignments are searchable. Search matches both the model display name and the technical model identifier. For LiteLLM Proxy, search also matches the underlying model name when the proxy exposes one (for example global.anthropic.claude-opus-4-8 behind a deployment alias). See LiteLLM Proxy model selection below. For proxy-backed models, hover the model name in a picker to see its full alias and the model it routes to; an information icon beside an assigned tier shows the same route.
On the Embeddings tab, the model dropdown labels show each model’s display name while values use the technical model identifier; search matches both. The overview summary may show the active embedding model by display name. Save (or Set default / Switch to …) stays disabled until you change the active provider or pick a different model than the one currently in effect.
If you save chat-model assignments for a provider before its credentials are configured, Genesis persists the assignments and Inherited Chat Tier without switching the runtime to that provider. After you finish the provider setup and activate it, Genesis uses the saved assignments.
On the Current page, Set Active for chat calls POST /api/config/llm-providers/{provider}/activate with force: true. It switches the active chat provider only — it does not call PUT /api/config/models/main/assignments with use_defaults: true, which would reset saved tier overrides back to Genesis defaults. On the New connection wizard Done step, Set Active for chat and embeddings checks the activation response: when success is false, Genesis shows an error toast with the API message (or a fallback) instead of a success toast.
Same-engine provider switches. OpenAI, Azure OpenAI, Databricks, and litellm_* providers (including LiteLLM Proxy) share the LiteLLM engine. When you Set Active or save a provider configuration that changes llm.active_provider, Genesis syncs runtime model assignments from the active provider’s saved Change Models tiers and clears stale process-global LiteLLM state left by the previous provider, such as the LiteLLM SDK api_base override. It does not delete LITELLM_PROXY_* bootstrap env vars; those remain the deployment-default source for unset AppConfig fields. Set Active on composite providers (litellm_*, including LiteLLM Proxy) activates the already-saved configuration without rewriting endpoint or auth from the activation request. LiteLLM Proxy chat, embedding, and discovery paths resolve proxy_api_base from providers.litellm_proxy.connection.base_url in AppConfig on each call (explicit DB/UI or file-backed values beat legacy LITELLM_PROXY_API_BASE), so switching to or from LiteLLM Proxy serves the saved proxy without a server restart. For unpinned LiteLLM turns with a named provider, later model calls use that provider’s current main, fast, and frontier assignments when they can be read, including changes made after the turn starts.
Whether a provider is configured is computed on every read from its effective parameters and secrets; Genesis never writes a configured marker and readiness never reads one. A partial save — for example a Workspace URL without a token, or a LiteLLM Proxy Base URL without auth — persists the values, and the provider reports the missing parameters until they are supplied.A successful provider save sets providers.<namespace>.admission to auto and, when no chat provider is selected and exactly one eligible provider remains, selects it. This includes saving only the API key of a secret-only provider (OpenAI, Anthropic, Gemini) through the secret fields API, and it re-admits a provider an operator had denied. Replacing a credential that is already saved runs a connection test first and keeps the old credential if the test fails; a first-time key is saved without a test.On the Current page, secret-only providers call two endpoints after the Secrets step saves: POST /api/config/llm-providers/mark-configured, which re-admits the provider and adopts it for embeddings when no embedding pair is saved, and POST /api/config/llm-providers/{provider}/ensure-endpoints, which registers the provider’s egress hosts in CUSTOM_ENDPOINTS — saving only an API key does not register them. LiteLLM Proxy is not secret-only: a successful POST or PUT /api/config/llm-providers/litellm-proxy admits it in the save finalize step (after syncing or removing the OAuth backing connection). If endpoint registration fails, Genesis reports a warning but still advances the wizard — retry from Continue setup → or call the endpoint again before Approve External Access on SPCS.
Credential rotation and failed saves. When you save or rotate provider credentials with Test Connection enabled (the default on provider cards), Genesis runs the connection test as part of the save. If the test fails, Genesis rolls back to the previously saved credential and any runtime env state the save touched — the invalid key is not left in place. For Snowflake Cortex, the save-time test validates the PAT and account you submitted, not the previously exported runtime credential on Cortex-active installs. This applies to OpenAI, Azure OpenAI, Snowflake Cortex, Databricks, LiteLLM Proxy, and Other Providers (Anthropic, Bedrock, Gemini, and related LiteLLM routes). Partial saves of non-secret fields (for example a Workspace URL without a token) are unchanged: values persist, but the provider stays unmarked until required credentials are present. Overwriting a provider API key through Config → Secrets or Advanced Settings (providers.<provider>.connection.* secret fields) uses the same guard when a credential is already configured; first-time entry is not guarded because there is nothing to restore.
Runtime updates. After a successful provider save, model-assignment save, or provider API-key change, Genesis applies the provider, model, and credential changes to the running process immediately. New chat, embedding, and other provider operations use the updated runtime state without a server restart. Failed or rolled-back saves leave the previous runtime state in place.
In Snowflake Native App / SPCS deployments, some provider cards show extra outbound-access steps such as Approve External Access and Assign to Genesis. The Approve External Access control opens the Snowflake console in a new browser tab. After you trigger those actions from the page, Genesis rechecks the assignment immediately so the provider card can move forward as soon as Snowflake confirms the change. Assignment verifies the live GENESISAPP_SERVICE_SERVICE binding; a recorded-but-not-attached state is reported as failure instead of success.

Configuring a provider through the config API

Container and Kubernetes deployments configure their LLM provider after the container is up, through the same endpoints this page’s UI calls. There is no provider environment variable to set at launch: the provider, its credential and its model assignments are APP_CONFIG state, and they persist across every restart once saved. (For IaC-managed deployments, a mounted genesis-config.yaml writes the same APP_CONFIG paths — see Infrastructure-managed deployments below.) The URL segment in step 1 is the provider card; the segment in step 2, and the provider field in step 3, is the llm type. They are not the same strings: Use POST to create — it validates the provider’s complete field set — and PUT on the same path to change one field later. POST refuses a provider that already exists and tells you to use the update endpoint; that refusal is the signal to switch to PUT. A PUT against an unconfigured provider stores a partial configuration that fails at request time instead. Put credentials in a request-body file, never on the command line: process arguments are visible to every process on the host and land in shell history. Every one of these endpoints requires the access_config_panel permission. LiteLLM Proxy creation and updates also require admin access; updates additionally require manage_secrets because an update may stage managed-secret changes. On a deployment with authentication enabled each call carries a bearer token — supply it through a curl config file rather than an argument, for the same reason.
Read each response before running the next call. --fail-with-body stops on an HTTP error, but these routes also answer 200 with success: false — most often “Configuration for … already exists. Use configure endpoint to update and enable it.” Repeat that first call as a PUT when you see it; do not run the activation or assignment call until the step before it reported success: true. Confirm the result with GET /api/config/llm-providers/llm/health, whose data.health.components.llm_config_manager.current_llm names the active llm type. That is a configuration check, not a model call: it reports green on a saved key the provider rejects, on a model id that does not exist, and on an endpoint nothing can reach. Send one real chat message on a fresh thread before treating the deployment as ready.
Footnote on default_env_var seeding. Some schema fields carry a default_env_var binding, and that variable supplies the field only while nothing is stored. This supports local, image and IaC bootstrap. Values saved through the UI, config API or config file outrank these defaults; changing an env seed does not replace a saved field. Saving a provider credential does not copy it into the process environment; a committed replacement removes its superseded startup-exported copy. For Bedrock, when nothing is stored for providers.litellm_bedrock.connection.default_endpoint.aws_region, AWS_BEDROCK_REGION supplies the field and the schema default is us-east-1; an explicitly stored value—including an empty value—takes precedence. Genesis admits the Bedrock connection when each Bedrock call is made, not at server startup or provider save, so a connection refusal is reported by the call.

Infrastructure-managed deployments

For Helm-based deployments, you can also bootstrap provider settings from a separate genesis-config.yaml file instead of placing provider credentials directly in Helm values. The shipped genesis-config-example.yaml covers openai, azureopenai, databricks, litellm_anthropic, litellm_bedrock, litellm_gemini, litellm_proxy (API key, static headers, or OAuth), and voyage.
For IRSA-based auth without stored credentials, set auth_mode: "iam_role" and omit api_key; boto3 uses the pod’s IRSA role automatically. For a LiteLLM Proxy that uses OAuth instead of a static proxy API key, configure the provider and OAuth ownership policy in the same file. Secret-valued fields accept aws_* / gcp_* / vault_* / secret_* / env_* references (see External Secrets).
providers.litellm_proxy.connection.anthropic_base_url is an optional string with default ""; it can also be bootstrapped with LITELLM_PROXY_ANTHROPIC_API_BASE. Set it when the proxy’s native Anthropic Messages route has a different URL from its OpenAI-compatible base_url. Chat using the Anthropic transport goes to this URL; utility calls, embeddings, and model discovery continue to use base_url. When unset or empty, Genesis derives the Anthropic route from base_url. providers.litellm_proxy.settings.underlying_models is an optional mapping with default {}. Map a proxy chat model id to the known model it serves when the proxy’s model catalog does not describe that model; Genesis uses the mapped model’s context window and output limit. When the mapping targets a Claude model, Automatic transport also routes that alias through the Anthropic Messages API. With the default empty mapping, no model aliases are mapped. Set providers.litellm_proxy.models.fallback_model to an optional chat model identifier when you want Genesis to retry a failed LiteLLM Proxy chat turn once with another model. It defaults to "" (disabled) and can also be seeded with LITELLM_PROXY_FALLBACK_MODEL. Set it in genesis-config.yaml as above or in Config -> AI Providers -> LiteLLM Proxy -> More options. Genesis uses it only after the selected model’s retries, when that model is unavailable, keeps returning server errors, or remains rate limited. It is not used for authentication, permission, or invalid-request errors; after any output has been shown; or when a turn pins an exact model. A fallback is attempted only once. While the primary model is down, each turn still waits through its transient retries (for rate limits, up to llm.rate_limit_recovery_seconds) before the fallback call. See the LiteLLM Proxy configuration API for save and response fields. For service-account OAuth header values in config files, prefer service_account_header_values — a YAML mapping keyed by each descriptor’s field_key. When both are set, the dict takes precedence over service_account_header_values_json. Each value can be a plain string or a secret reference (aws_*, gcp_*, vault_*, secret_*, env_*); when the matching descriptor has is_secret: true, Genesis resolves the reference through the encrypted secret store at runtime. You can still supply the whole mapping as service_account_header_values_json — either a JSON string or a secret reference to a stored JSON blob (see External Secrets), for example {"oauth_header_x_acme_tenant":"tenant-123"}. Use settings.oauth_credential_policy: "per_user_oauth" for interactive per-user browser grants. Embedding tests and saves made by a signed-in person use that person’s grant under this policy. Use "service_account" for work that runs without a signed-in person, or "per_user_oauth_with_service_fallback" to keep per-user grants while also allowing background work to use the shared service account. Scheduled scans, background indexing, and thread-title work have no person to sign in as; without a shared service account, they fail with an error directing an administrator to set the credential policy under Config → AI Providers → LiteLLM Proxy. The setting is providers.litellm_proxy.settings.oauth_credential_policy (default per_user_oauth). Header values may also be keyed by a descriptor’s header name or its normalized alias: for X-Acme-Tenant, these include x-acme-tenant and x_acme_tenant. Key matching is case-insensitive, and Genesis stores the value under the descriptor’s field_key. A submitted key that matches no descriptor is rejected. When adding or changing descriptors, use the actual HTTP header name in header_name, not a generated field key such as oauth_header_x_acme_tenant; a malformed descriptor is refused when saved. For Helm- or env-only bootstrap, legacy LITELLM_PROXY_* variables are wired as default_env_var defaults in the schema — for example LITELLM_PROXY_TRANSPORT (providers.litellm_proxy.connection.transport), LITELLM_PROXY_OAUTH_CREDENTIAL_POLICY (providers.litellm_proxy.settings.oauth_credential_policy), LITELLM_PROXY_ALLOW_USER_OAUTH_FALLBACK_FOR_NON_INTERACTIVE (providers.litellm_proxy.settings.allow_user_oauth_fallback_for_non_interactive), and LITELLM_PROXY_OAUTH_CUSTOM_HEADER_DESCRIPTORS_JSON (providers.litellm_proxy.connection.oauth.custom_header_descriptors), and LITELLM_PROXY_OAUTH_REQUEST_REFRESH_TOKEN (providers.litellm_proxy.connection.oauth.request_refresh_token, boolean default true). They seed unset fields at startup; values saved in AI Providers, Advanced Settings, or genesis-config.yaml always win over a leftover env var. With a non-empty scope list, the default true adds offline_access to each person’s LiteLLM Proxy sign-in so the provider can issue a refresh token; an empty scope list is left unchanged. Set providers.litellm_proxy.connection.oauth.request_refresh_token to false (or LITELLM_PROXY_OAUTH_REQUEST_REFRESH_TOKEN=false) if the identity provider rejects offline_access as an unknown scope, including Amazon Cognito, Google, or PingFederate. Set LITELLM_PROXY_OAUTH_CUSTOM_HEADER_DESCRIPTORS_JSON to a JSON array when bootstrapping descriptors without genesis-config.yaml. In service_account mode, Genesis sends descriptor values with applies_to token_exchange on the OAuth token request, forwards downstream headers during client-credentials token acquisition, and sends downstream headers on proxy /models discovery, background model-catalog loading, and runtime proxy calls. Saved service-account header values persist in provider metadata as oauth_service_account_header_values (when supplied as a dict) or oauth_service_account_header_values_json. Status reads also return oauth_service_account_header_value_keys — the configured field_key list without secret values — so Reconfigure can show A saved shared value already exists for this header even when the backing LiteLLM Proxy connection no longer exposes shared defaults in locator.user_oauth_fields. At runtime, Genesis resolves values from provider metadata first, then connection.locator.user_oauth_fields, then connection.user_oauth_fields. For descriptor definitions, Genesis uses the resolved LiteLLM Proxy admin snapshot from APP_CONFIG (saved UI/DB, genesis-config.yaml, and unset-field default_env_var bootstrap) first; when that list normalizes to empty, it falls back to oauth_custom_header_descriptors on the shared backing LiteLLM Proxy connection (litellm_proxy.shared). Descriptors marked required: true must have a non-empty value for the applicable applies_to scope or Genesis raises a validation error before calling the proxy. If a saved shared service-account configuration has a malformed descriptor or a missing required value, the LiteLLM Proxy status panel in AI Providers reports the issue. Correct descriptors in Advanced Settings at providers.litellm_proxy.connection.oauth.custom_header_descriptors, or provide the required value in the service-account header values setting. Pass the file to Helm with --set-file genesisConfig.content=genesis-config.yaml, or set genesisConfig.existingConfigMap to a pre-created ConfigMap. Secret fields in this file accept the same aws_* / gcp_* / vault_* / secret_* / env_* reference syntax documented in External Secrets. On every startup, Genesis re-evaluates the mounted file (via GENESIS_CONFIG_FILE or the saved profile path) before auto-populating missing schema fields. If the profile path or file hash changed, Genesis performs a section-scoped update into APP_CONFIG: only top-level sections present in the file are cleared and rewritten; omitted sections keep their current database values. The clear and rewrite for each touched section is atomic — a failed apply rolls back so fields such as llm.active_provider are not left unset mid-restart. If startup apply fails, Genesis leaves profile metadata unchanged and retries on the next restart (see Config Profiles — Startup loading). Connections named in a file connection section merge per-connection (file entries override, others survive). If the profile is unchanged, it fills only missing paths and preserves existing values. Genesis then runs the env↔config bridge: non-secret fields with default_env_var are exported to legacy environment-variable consumers unless the variable is already set; secret fields with default_env_var are captured from the environment into their default managed secrets when unset. See Config Profiles — Startup loading and Advanced Settings — Secret-valued settings for the full priority, capture, and reload rules. External secret references (aws_*, gcp_*, vault_*) stored on LLM provider secret fields are preserved through the App Config → legacy runtime config bridge and resolved by resolve_secret() at read time. Genesis-managed secret_* references are emitted only when the backing secret exists; external refs are always emitted because they resolve outside the Genesis SECRETS table. Provider credentials, per-provider model assignments, and the active chat and embedding selections are persisted in APP_CONFIG under providers.*, llm.active_provider, embedding.active_provider, and embedding.active_model. On upgrade, Genesis runs startup migrations that copy any remaining legacy EXT_SERVICE_CONFIG LLM namespaces into those AppConfig paths (aa009_ext_service_llm_migration); source rows are left in place until a later cleanup phase. A follow-up heal migration (aa010_ext_service_llm_reapply) re-applies provider values whose AppConfig targets were overwritten by bootstrap NULL-scaffold overlap on prior releases (only default-sourced NULL rows are touched). A one-time Snowflake heal migration (aa011_cortex_active_override_heal) restores llm.active_provider when a pre-fix startup bug forced it to cortex over a still-configured legacy model_config.main_provider in EXT_SERVICE_CONFIG. Provider parameter sufficiency is never stored: it is recomputed on every read from connection fields, their default_env_var, and managed secrets. A provider admission migration (aa017_provider_admission) carries only an explicit legacy providers.<p>.configured: false into providers.<p>.admission = deny and keeps the stored marker for rollback until a release explicitly retires it; newer readiness reads ignore it. A Cortex embedding default migration (aa013_cortex_embedding_default_pin) pins unset Cortex deployments to embedding.active_model = e5-base-v2 (and sets embedding.active_provider = cortex when it was only inferred from llm.active_provider) so catalog-order changes cannot silently re-point document indexes to a different model-specific collection. The migration is a no-op when embedding.active_model is already set explicitly. When no complete provider remains after the heal, Genesis logs a loud warning. The aa015_legacy_provider_namespace_heal migration also carries non-secret values from the pre-Variant-A provider sections (for example, litellm_bedrock.connection.default_endpoint.aws_region) into the canonical providers.<p>.* paths when those canonical fields are unset. It is fill-only and does not copy secret-typed fields; re-enter a provider credential on the AI Providers page when it predates the provider namespace move. The follow-up aa016_incomplete_provider_marker_revalidation migration rechecks any configured marker carried by aa015. The next state read defaults to Cortex only on a Cortex-capable host; otherwise no provider is promoted, and an operator must activate one. Upgrades that ship these migrations together heal automatically on the next restart when EXT_SERVICE_CONFIG source rows still exist — no manual re-entry of credentials is required. Startup migrations run in alphabetical order after bootstrap completes and are serialized against schema auto-population; if an earlier migration in the chain fails, later migrations (including the LLM backfill steps) do not run until the failure is fixed and Genesis restarts. When that happens, Genesis logs STARTUP MIGRATION CHAIN HALTED at CRITICAL severity with the failed migration name and every blocked migration — search Pulse Live Logs or server logs for that string. Treat the file as the canonical source for IaC-managed deployments. Normal pod restarts with an unchanged mounted file preserve later UI changes, but a Helm upgrade or ConfigMap change that updates the file content triggers a full reload on the next startup.

Retired environment variables

Genesis no longer reads these variables. Set the provider and model persistently instead, so what AI Providers shows is what serves traffic. GENESIS__LLM__ACTIVE_PROVIDER and GENESIS__PROVIDERS__<P>__MODELS__DEFAULT_CHAT (the provider key in upper case, such as LITELLM_PROXY) also win over the stored value, but only as a temporary pin for troubleshooting: they leave no record in Genesis settings, so the stored choice and the one serving traffic can differ. While one is set, a provider or model chosen in AI Providers or Change Models takes effect only after the variable is removed; for the active provider, Set Active reports that an override controls it.

Provider keys in skill shell steps and tools

Genesis no longer copies AI provider keys and settings saved in Genesis (through AI Providers, a mounted genesis-config.yaml or the config API) into its environment at startup, where the processes it starts, such as skill shell steps, MCP servers and command-line tools, inherited them. Before, a saved key reached those processes as a variable such as OPENAI_API_KEY or ANTHROPIC_API_KEY whenever the deployment did not set that variable itself. Genesis’s own features (chat, embeddings, image generation, decision models, the Digital Twin and the harvester) read the saved settings directly and need no change. This includes Amazon Bedrock: Genesis passes the saved Bedrock API key, region, endpoint and custom header with each Bedrock request and no longer sets AWS_BEARER_TOKEN_BEDROCK, AWS_BEDROCK_REGION, AWS_BEDROCK_RUNTIME_ENDPOINT or AWS_BEDROCK_AUTH_HEADER in its environment once Bedrock has been used. A Bedrock variable the deployment sets stays in the environment as set, whether Bedrock is in use or not; Genesis’s own Bedrock requests use the saved connection and ignore it. A custom skill or tool that reads a provider key from its environment keeps working in one of two ways:
  1. Set the key in the deployment’s environment: the pod environment (for example the Helm chart’s config.extraEnv) or the environment of the Genesis container (for example the .env file of a Docker Compose install). Processes Genesis starts as its own user still inherit every variable the deployment sets: shell steps on a server that does not run as root, on a local development server and on Genesis Desktop in Standalone mode. Where shell steps run as the restricted cortex_sandbox user (Snowflake, EKS and self-hosted Docker running as root), they receive no server credentials or settings, before or after this change, and while Genesis Desktop is connected to a Genesis server it removes provider keys from its environment; use the sandbox there.
  2. Run the step in a sandbox and pass the key explicitly. Have the skill run its command with the sandbox_action tool instead of a shell step, and start the sandbox with credentials.secrets: each item is an object with name, the Genesis secret to read (secret_*), env_var, the variable to set inside the sandbox, and optional required (default true). A key saved in AI Providers is the secret secret_<config path>, for example secret_providers_openai_connection_api_key for the OpenAI key; the person the agent acts for must be allowed to read it (see Secrets), or store a separate key on the Secrets page and name that one.
The key is set only inside that sandbox, and Genesis masks its value in the command output.

Provider-specific notes

Genesis Desktop sets up Google Vertex AI after the person confirms it as company AI; it uses the person’s gcloud application default credentials and is not a New connection option. After confirmation, use Change Models to manage its chat and embedding assignments. The provider’s configuration keys and schema defaults are: The model-selection and deferral fields are maintained by Genesis; do not edit them directly. For the sign-in, project discovery, checks, and confirmation flow, see Genesis Desktop. For Claude endpoints, providers.databricks.settings.claude_transport defaults to anthropic_messages, Databricks’ Anthropic Messages API. Genesis retries a Claude chat call on /chat/completions when Messages is unavailable for that endpoint (HTTP 403, 404, 501, or FEATURE_DISABLED); after a successful retry, that endpoint stays on the chat route until Genesis restarts or its Databricks connection settings change. Set the transport to chat_completions to skip the Messages API attempt. Genesis no longer sends an optional turn-end request to keep a long Claude prompt cache warm. The retired settings were llm.prompt_cache_refresh.enabled (false), llm.prompt_cache_refresh.min_prompt_tokens (100000), and llm.prompt_cache_refresh.delay_seconds (240); the refresh was off by default, and these settings no longer enable it. On the Cortex card in Config → AI Providers, the Use the Cortex Messages API switch selects the endpoint for chat turns. It is enabled by default when the saved choice is unset: providers.cortex.settings.api has schema default "", which resolves to messages. The Messages API serves the Claude 5.5 models, honors prompt-cache markers on tool results, and reports cache writes separately from cache reads. Switch it off to use chat_completions, the OpenAI-compatible endpoint; Claude 5.5 models are not available in that mode. The choice applies to native SPCS Cortex as well as credential-backed Cortex connections. PAT- and key-pair-authenticated Cortex connections can also switch back to Chat Completions and save that choice. The former CORTEX_USE_OPENAI_SDK environment switch is no longer read; Genesis uses the configured Chat Completions or Messages API rather than the legacy inference:complete transport. In Genesis Desktop (laptop mode), the Cortex provider can use a saved Snowflake connection instead of separately entered credentials. This stores providers.cortex.connection.auth_method: "connection" (schema default "") and providers.cortex.connection.connection_name (schema default ""; the connection name without the snowflake. prefix). The connection supplies the account and authentication at call time; its credentials are not copied into Cortex configuration. On Genesis Desktop, saving a LiteLLM Proxy while Genesis AI is configured prompts for confirmation because the personal proxy replaces the Genesis AI provider slot. On the AI Providers overview, a configured Cortex provider without saved provider credentials is labeled Key-pair auth when providers.cortex.connection.auth_method is keypair, and PAT token for other auth methods. In SPCS, it shows SPCS — native access instead.
Snowflake active provider precedence. On Snowflake Native App / SPCS hosts, llm.active_provider in APP_CONFIG is authoritative: a configured non-Cortex provider (for example litellm_bedrock or litellm_proxy) stays active across restarts and is not overwritten by native Cortex availability. Genesis registers Cortex as a selectable provider whenever it is available, but activates it only when no chat provider is active yet — the zero-config default for fresh installs. CORTEX_OVERRIDE is retired and ignored. To run chat on Cortex, select Cortex as the active provider (or set llm.active_provider: cortex in a mounted genesis-config.yaml); ACTIVE_LLM_PROVIDER=cortex only seeds the choice while none is stored, as on a fresh install (see Retired environment variables). After startup migrations run, Genesis invalidates the AppConfig snapshot and LLM overview caches so AI Providers reflects the restored active provider immediately instead of serving a stale cortex-only view until cache expiry.
Removed LiteLLM providers. LiteLLM Mistral (litellm_mistral) and LiteLLM Cerebras (litellm_cerebras) are no longer available in AI Providers. On the next startup, Genesis clears llm.active_provider when its resolved value is one of those providers or their former bare aliases (mistral or cerebras), and clears their saved configured markers. Genesis does not select a replacement automatically: reselect and configure a provider in Config → AI Providers. If GENESIS__LLM__ACTIVE_PROVIDER still names one of the removed providers, unset that environment override first because it takes precedence over APP_CONFIG. When no provider remains, Genesis falls back to Cortex only on a Cortex-capable host; otherwise, no provider is activated.
  • OpenAI requires an API key on the provider card before Genesis marks the provider configured. Genesis routes OpenAI chat through the LiteLLM engine. The custom OpenAI chat engine has been retired: a saved openai engine override is warned about and ignored, without rewriting provider or model settings (see Provider engine overrides). OpenAI remains a supported provider, and SDK-backed image and speech features remain available. Those SDK clients use the resolved providers.openai.connection.api_key and providers.openai.connection.base_url values; they do not read ambient OPENAI_API_KEY or OPENAI_BASE_URL directly. When the runtime service name is litellm_openai, Genesis resolves its embedding configuration and API key from the same providers.openai schema. Change Models assignments persist under providers.openai.models.* in APP_CONFIG — default_chat, fast_model, premier_model, supervisor, harvester, and knowledge_server — and each field’s default_env_var chain (OPENAI_MODEL_NAME, OPENAI_MODEL_SUPERVISOR, OPENAI_FAST_MODEL_NAME, and related vars) still applies when that assignment is unset. Chat tier getters (get_current_model, fast_model_name, smart_model_name, frontier_model_name) read the live assignment on each call instead of trusting a per-adapter snapshot from session dispatch, so Change Models updates take effect on the next turn without a server restart; during early bootstrap or when config is unavailable, getters fall back to the instance snapshot or env. Genesis prefixes model ids with openai/ for LiteLLM calls, strips unsupported top-level JSON Schema combinators (anyOf, oneOf, allOf) from tool parameters before sending the request, and does not build a separate raw OpenAI client. Each call supplies explicit api_key and api_base to LiteLLM (providers.openai.connection.base_url when configured — env: OPENAI_BASE_URL / OPENAI_API_BASE — otherwise https://api.openai.com/v1); a missing resolved API key fails fast instead of falling back to ambient OPENAI_API_KEY, and the pinned api_base prevents process-global LiteLLM Proxy state from capturing direct OpenAI chat or embedding calls when LiteLLM Proxy is configured for chat. Model tier precedence for auxiliary work is unchanged: fast-tier and thread_title work resolve fast_model first, then supervisor or default_chat; other supervisor work prefers supervisor, then default_chat. Genesis no longer substitutes hardcoded gpt-5-mini or gpt-5-nano for fast or titling work based on the main model family — set the fast tier explicitly in Change Models.
  • Snowflake Cortex can be saved and tested without extra credentials when Genesis is already running in a Snowflake-native runtime (Native App / SPCS) with Cortex available — credential fields are hidden on the form, and Save Configuration / Test Connection use native runtime credentials instead. In other deployments, choose Authentication Method: Personal Access Token (PAT) (default), Key Pair (JWT), or Connection (Genesis Desktop / laptop mode only). For Connection, choose an existing Snowflake connection on the Cortex form’s Use Snowflake Cortex with snowflake.<name> panel; Genesis verifies that Cortex responds, then stores the connection reference rather than copying its credentials. Every Cortex call uses that connection’s account and its saved authentication (Snowflake OAuth, key pair, or PAT). An identity-provider Snowflake connection requires a browser OAuth sign-in when you choose it. To use a connection for chat and embeddings, select Use with embeddings; choosing chat only leaves the current embedding provider unchanged. In PAT mode, enter Account URL and Personal Access Token. When you supply a PAT or change the account host, Test Connection and save-time validation exercise that submitted credential and host — not a previously working exported runtime PAT. The connection form has no model field; Genesis persists a model in provider metadata only when you pass model explicitly (for example through the API or Change Models). A fresh install does not pin catalog or env defaults into stored config — runtime defaults from CORTEX_MODEL still apply through the schema default_env_var chain when no saved assignment exists. In key-pair mode, enter Snowflake Account (ORGID-ACCTID or full host such as myorg-myacct.snowflakecomputing.com), Snowflake User, Private Key (PEM text), and optional Private Key Passphrase for encrypted keys; Account URL is optional because Genesis can derive the REST host from Snowflake Account. When credential fields are shown, the Cortex card also exposes Embedding Method: REST API (default) calls the Cortex REST embedding endpoint using the saved PAT or a short-lived JWT from the key pair; SQL (Direct Snowflake) opens a direct Snowflake connection and runs AI_EMBED (requires Snowflake User; Warehouse and Role are optional; SQL auth uses the PAT as password or key-pair JWT via SNOWFLAKE_JWT). In Snowflake Native App / SPCS runtimes, document and thread embeddings always use the SQL path via the deployment’s Snowflake session regardless of this setting. The active embedding provider and model are resolved from configuration for each embedding call; saving or activating them does not mirror the selection into EMBEDDING_PROVIDER, EMBEDDING_MODEL, or CORTEX_EMBEDDING_MODEL. For auxiliary Cortex calls, Change Models assignments are the primary source: main chat work resolves default_chat; fast-tier helper work and thread titling resolve fast_model, then default_chat; when no assignment resolves, the model of the Cortex connection applies. These calls never read a model environment variable directly, but default_chat and fast_model still resolve through the schema default_env_var chain (CORTEX_MODEL, CORTEX_FAST_MODEL_NAME) when nothing is explicitly saved. V6 thread-summary routing follows the same assignment-first precedence as compression so chat and summary paths stay aligned.
If Snowflake refuses a Cortex model because of Model RBAC, Test Connection shows a multiline remediation instead of classifying the failure as invalid credentials. The message includes the Snowflake error code (399217 for SQL or 003001 for REST), the missing application role, and the ACCOUNTADMIN commands needed to grant access; long diagnostics can be expanded with Show more. The same remediation is returned when a chat request is refused. For the account-side grants, see Resolve Cortex Model RBAC refusals.
  • Azure OpenAI requires Endpoint URL, API Version (schema default 2025-04-01-preview), a configured chat deployment, and one credential method. providers.azureopenai.connection.auth_mode defaults to "api_key", which uses the saved API key. "entra" uses the computer’s Azure CLI sign-in (az login) instead and requires providers.azureopenai.connection.tenant_id (default ""); Genesis Desktop sets these values when the person confirms company Azure OpenAI. tenant_id is ignored with api_key auth. Under entra, calls are refused while AZURE_OPENAI_API_KEY or AZURE_API_KEY is set in the server environment because LiteLLM would use that key instead of the Entra token. Twin uses the same Entra token for Azure embedding requests and refreshes its credentials to retry once if Azure rejects the token with HTTP 401. Change Models assignments store Azure deployment names (not OpenAI SKU ids). Genesis routes all Azure OpenAI chat, embedding, connection-test, and auxiliary tool paths through the LiteLLM engine with per-call credentials from the saved providers.azureopenai connection — there is no separate native Azure OpenAI client path. Test Connection sends a LiteLLM completion using the saved endpoint, credential, API version, and deployment name; blank required fields fail fast instead of falling back to ambient AZURE_* environment variables. If the selected deployment is not found, create a deployment with that name in Azure AI Foundry or choose an existing deployment in Change Chat Models. For GPT-5.4-and-later or GPT-6 models, Genesis raises an older dated API version to 2025-03-01-preview, the minimum version that serves Azure’s Responses API; a version already at or after that date, or a non-date version such as preview or latest, is left unchanged. This also applies when an opaque deployment name is mapped to its canonical model with providers.azureopenai.settings.deployment_base_models. Genesis prefixes deployment names with azure/ for LiteLLM calls, strips unsupported top-level JSON Schema combinators (anyOf, oneOf, allOf) from tool parameters before sending the request, and can automatically retry a hung streamed turn once in non-streaming mode when providers.azureopenai.settings.stream_fallback is true (default). Tune the first-token wait with providers.azureopenai.settings.stream_fallback_timeout (default 8.0 seconds). See Azure OpenAI stream fallback.
  • Databricks supports pat (default), oauth, and service_principal modes, plus deployment-selected app_identity. PAT requires Workspace URL and Personal Access Token. oauth reuses an existing Databricks user_oauth connection from Connections; Databricks OAuth Connection is required, Workspace URL is optional, and Genesis derives https://<connection-host>/serving-endpoints when it is blank. Interactive OAuth calls use the acting user’s grant; background or no-user auxiliary calls can use a Service Principal (OAuth M2M) connection configured at providers.databricks.connection.oauth.m2m_connection_name in genesis-config.yaml (see External Secrets). With service_principal, choose a Databricks service-principal connection in Config -> AI Providers; that connection supplies the client credentials and OAuth scope (default all-apis) for every call, with or without a user. This mode uses neither a PAT nor a per-user OAuth grant. Inside a Databricks App, PAT-based model calls and PAT-mode settings saves or tests are refused; use oauth or the App identity instead. OAuth-backed calls and tests use the signed-in user’s grant. Set providers.databricks.connection.auth_mode to app_identity only when Genesis runs as a Databricks App. Every call, with or without a user, then uses an access token for the App’s service principal, minted from the App runtime’s DATABRICKS_HOST, DATABRICKS_CLIENT_ID, and DATABRICKS_CLIENT_SECRET; those values must be present, and the serving endpoint must be in the same workspace. Genesis reuses a cached token until it has less than 30 minutes remaining, then exchanges credentials for a new token; concurrent calls share an in-flight exchange. Missing credentials or a workspace mismatch fail the call without falling back to a PAT, user token, or ambient DATABRICKS_* environment variable. The AI Providers card identifies this as Databricks App identity and refuses PAT or OAuth setting saves while this mode is active; change the deployment configuration to switch modes. The Databricks App deployment example is documented in Deploying Genesis on Databricks — Private full Genesis App pilot. providers.databricks.connection.endpoint_style defaults to serving_endpoints (Databricks Model Serving); set it to ai_gateway in the AI Providers form to use Unity AI Gateway at <workspace>/ai-gateway/mlflow/v1. Model Serving models use endpoint names. AI Gateway has no model list, so enter each chat and embedding model’s full <catalog>.<schema>.<service> name in Change Models. Test Connection exercises a LiteLLM completion using the credential selected by the active mode. Genesis routes Databricks chat, embeddings, connection tests, auxiliary tool, and image_analysis paths through LiteLLM with explicit per-call credentials. The shipped assignments include databricks-claude-opus-5-5 for default_chat, premier_model, supervisor, harvester, and knowledge_server, and databricks-claude-haiku-5-5 for fast_model; assignments can be changed in Change Models. databricks-claude-opus-5 and databricks-claude-haiku-4-5 stay selectable. On restart, an existing install moves a role to the shipped model only when that role is still managed by Genesis defaults; a role you chose keeps its model, and Genesis logs a Default-model upgrade declined warning naming it. To take the new defaults, open Change Chat Models, choose Use Genesis defaults, and save. To avoid provider rejections of mid-conversation system messages, Genesis sends non-leading system messages as user messages in Databricks requests; their order and context are preserved, and the stored thread history keeps its original roles. Fast-tier work and thread_title use fast_model first, then supervisor, then default_chat. Genesis prefixes serving endpoint names with databricks/, strips unsupported top-level JSON Schema combinators from tool parameters, and can retry a hung streamed turn in non-streaming mode when providers.databricks.settings.stream_fallback is true (default false). Tune its first-token wait with providers.databricks.settings.stream_fallback_timeout (default 2.0 seconds); see Databricks stream fallback. Databricks streaming usage metadata includes cached input counters for Thread Cost Analysis. Per-user OAuth auth failures show an inline re-authorization card in chat; PAT and service-principal failures are treated as configuration errors.
  • Other Providers is the catalog label for the generic LiteLLM integration (litellm). Use it to connect Anthropic, Bedrock, Google Gemini, and other LiteLLM-backed vendors. Claude Opus 5.5 is the shipped default_chat and premier_model for Anthropic (anthropic/claude-opus-5-5) and Bedrock (global.anthropic.claude-opus-5-5); the shipped fast_model is Claude Haiku 5.5 (anthropic/claude-haiku-5-5 and global.anthropic.claude-haiku-5-5). Claude Opus 5 and Claude Haiku 4.5 stay selectable, and any assignment can be changed in Change Models. Named variants such as Google Gemini (litellm_gemini) still show their provider-specific title in the configured-provider grid once saved.
  • Google Gemini uses the model selected in the provider form for Test Connection. In the new-connection flow, Genesis prefers the fast_model assignment, then default_chat, then the first available model; if no model is supplied, it falls back to the provider’s catalog fast_model, currently gemini/gemini-3.5-flash-lite. The shipped litellm_gemini default_chat and premier_model are gemini/gemini-4-carbon; its fast_model remains gemini/gemini-3.5-flash-lite. Change any assignment in Change Models.
  • AWS Bedrock supports both the default AWS runtime endpoint and Bedrock-compatible custom endpoints. Change Models chat tier assignments persist model identifiers exactly as AWS writes them (for example global.anthropic.claude-sonnet-4-6, including cross-region prefixes such as us. or global.). At runtime Genesis adds the bedrock/ prefix for LiteLLM routing on all chat, embedding, connection-test, and auxiliary paths; the step is idempotent when a value already includes bedrock/. For custom endpoints in API Key / Bearer Token mode, admins can choose Authorization: Bearer, x-api-key, or a custom header name, optionally strip AWS cross-region prefixes (us., eu., apac., global.) from model IDs before proxy requests, choose the Bedrock chat API mode (invoke or converse; the form’s labels are localized, and route behavior is described in Bedrock configuration request fields), enable Fake Stream to chunk non-streaming /converse responses for proxies that do not support /converse-stream, disable TLS verification with Skip SSL Verify for self-signed certificates, and supply Extra Headers as a JSON object for additional upstream headers, or leave it blank when no extra headers are needed. Enter only the custom header name, not a full Header: value pair. IAM role authentication is available only for the default AWS Bedrock endpoint; custom endpoints require API Key / Bearer Token. Test Connection now probes the selected route mode: Invoke targets /model/{modelId}/invoke with an Anthropic-style body, while Converse targets /model/{modelId}/converse with the Bedrock Converse body. When custom_auth_header is a non-bearer header such as x-api-key, Genesis adds a structurally valid SigV4 Authorization header plus the selected custom header so API Gateway-based Bedrock proxies can validate the request. For that header mode, Genesis sends the saved API key only in the selected header, never as AWS_BEARER_TOKEN_BEDROCK, so LiteLLM never emits Authorization: Bearer on the wire. Bedrock image generation is the exception: LiteLLM’s image path sends the key as Authorization: Bearer and does not send the custom header, so image generation through such a gateway works only if the gateway also accepts a bearer token. The same per-request connection is used after config exports from genesis-config.yaml, across restarts, and for background paths that share the chat Bedrock config — including long-thread compression (V6) worker subprocesses, Bedrock embedding calls, and Digital Twin LLM scans. Custom endpoints may leave aws_region blank; Genesis normalizes an empty region to us-east-1 as a placeholder because the custom endpoint URL overrides routing. Some proxies return 403 for the lightweight test model even though the endpoint is reachable; Genesis surfaces that as a warning so you can save and verify with a real request. For the default endpoint, aws_account_id is optional; the form may prefill it from providers.litellm_bedrock.connection.aws_account_id (seeded from AWS_ACCOUNT_ID when that field is unset), then AWS_ROLE_ARN or STS caller identity. You do not need to enter it to save the provider. See Bedrock configuration request fields for its connection-test behavior. Genesis persists these custom-endpoint runtime options in App Config so the same proxy behavior is restored after config reloads and restarts. For cold-start streaming turns, Genesis lets the full llm.stream_read_timeout_seconds budget apply on the wire instead of inheriting LiteLLM’s older 600 second Bedrock streaming ceiling. Mid-stream idle gaps (after the first chunk) are governed separately by llm.active_stream_idle_timeout_seconds, which also sets the Bedrock httpx read budget. Both default to 900.0 seconds and can be tuned in Advanced Settings.
  • If the default AWS Bedrock endpoint is selected and providers.litellm_bedrock.connection.default_endpoint.aws_region is missing, Genesis uses the schema default us-east-1; set the field explicitly when a different AWS region is required. Custom Bedrock-compatible endpoints do not require this AWS region. For custom endpoints, AWS_BEDROCK_RUNTIME_ENDPOINT and AWS_BEDROCK_AUTH_HEADER seed providers.litellm_bedrock.connection.custom_endpoint.url and providers.litellm_bedrock.connection.custom_endpoint.auth_header; both fields default to "". These deployment inputs supply a field only while nothing is stored for it; an explicit stored value—including an empty value—takes precedence.
  • LiteLLM Proxy supports four authentication mechanisms: api_key (default), static_headers, oauth, and none. Use none when the upstream gateway identifies callers by network identity instead of application credentials — Genesis sends no Authorization header on proxy requests. The Wire Transport selector (transport, default auto) controls the chat API shape. Leave it on auto to route Anthropic-family models through native Anthropic /v1/messages and other models through OpenAI-compatible /chat/completions. Caching occurs on both routes, but whether your gateway shares one upstream cache across routes and how much usage detail it reports are properties of that gateway, so check the stats panel after a change rather than assuming. On both the Genesis lab proxy and the Railway proxy, streamed OpenAI-route calls returned full prompt_tokens and both cache counters, and extended thinking behaved the same on both routes; an earlier measurement on a different proxy build saw zero cache counters and under-reported prompt_tokens. On the Anthropic route, LiteLLM sends the credential as x-api-key unless it is an OAuth credential (which Genesis sends as Authorization: Bearer) or carries Anthropic’s own sk-ant-oat prefix. Pin openai if your gateway has no Anthropic endpoint, or if it authenticates only on Authorization while you use an API key or static headers. Pin anthropic only when the gateway has no OpenAI-compatible endpoint, such as Tailscale Aperture. Set connection.transport in genesis-config.yaml or LITELLM_PROXY_TRANSPORT when bootstrapping an unset transport field. Tests connectivity and discovers models through the proxy /models endpoint; with auto, Test Connection resolves the route from the configured or discovered model family and probes /messages for Anthropic-family candidates. When a proxy canonicalizes that route with an HTTP redirect, Genesis follows up to two same-origin hops only when the redirect target path ends in /models or /models/; cross-origin redirects and redirects to login or other non-/models paths are refused so authentication headers are not forwarded to another host. In Helm- or env-backed deployments where usable proxy settings are present in the resolved APP_CONFIG snapshot (from genesis-config.yaml, saved UI/DB, or unset-field LITELLM_PROXY_* bootstrap), the AI Providers overview shows a LiteLLM Proxy card (with endpoint and masked credential preview) instead of the generic Other Providers row when runtime proxy config is present. The LiteLLM Proxy status API merges those runtime settings into the Reconfigure payload so OAuth Custom Header Descriptors and masked service-account header markers appear even when UI metadata alone is sparse. Reopening Reconfigure preserves saved descriptors when the status response omits oauth_custom_header_descriptors, falls back to the backing LiteLLM Proxy connection copy when the field is present but normalizes to an empty array, and preserves service-account header presence via oauth_service_account_header_value_keys when connection shared defaults are unavailable. Save and Reconfigure merge partial service-account shared-header submissions with existing saved values — omitted or masked header fields keep their prior value, and removing a descriptor from OAuth Custom Header Descriptors prunes its stored value. Test Connection uses the same effective descriptor list (including that fallback) and, in service_account OAuth mode, applies token_exchange headers on the token request, forwards downstream headers during client-credentials token acquisition, and sends downstream headers on the /models probe. Genesis supports the standard OpenAI-compatible response shape {"data": [{"id": "..."}]} and also temporarily accepts the legacy shape {"data": {"Items": [{"model_id": "..."}]}}. When the proxy includes model_type, Genesis uses it to separate chat and embedding models; otherwise it falls back to the model identifier heuristic. Genesis normalizes proxy model identifiers by stripping transport prefixes litellm_proxy/ and proxy/ before saving assignments, populating Model Universe, and showing picker values; at runtime it adds the litellm_proxy/ prefix back for all LiteLLM library calls — chat, embeddings (document indexes and Digital Twin semantic indexing), long-thread compression (V6), and other auxiliary paths. For static_headers and OAuth modes, resolved downstream headers are sent as extra_headers on these embedding calls as well as on chat. When transport is anthropic, OAuth credentials are also sent as Authorization: Bearer <credential> so an Anthropic-compatible proxy can authenticate the request through its bearer transport. For admin model discovery, when auth_mechanism is oauth but OAuth client settings are incomplete, or when static_headers configuration is missing or invalid, Genesis falls back to API-key discovery headers when a proxy API key is configured (including via default_env_var bootstrap). OAuth ownership is controlled by oauth_credential_policy: per_user_oauth (interactive browser grants per user), service_account (admin-managed client-credentials grant for non-interactive runs), or per_user_oauth_with_service_fallback. When the effective policy is per_user_oauth, Genesis skips admin-side service-account /models discovery on save because runtime calls use each user’s browser grant, and Test Connection tests the saved configuration with your own grant, as there is no shared credential: it lists the proxy’s models and makes one small model call with your token and header values, and shows Not tested (amber) asking you to Connect OAuth first when you have no grant. It tests the saved settings, so save changes before testing them; the form says so while you have unsaved edits. Under service_account, per_user_oauth_with_service_fallback, and static headers on the OpenAI route, Test Connection also makes one small model call after listing models (the Anthropic route already probes /messages), because a gateway can list models and still refuse chat for a wrong header; a refusal shows the gateway’s status and error text. When LiteLLM Proxy is configured for per-user OAuth, Genesis resolves the request in the acting user context so the correct user-scoped token is used. At runtime, OAuth custom header descriptors use the resolved LiteLLM Proxy admin snapshot first and fall back to the shared backing LiteLLM Proxy connection (litellm_proxy.shared) when that list is empty after normalization. For OAuth-backed LiteLLM Proxy modes, if the provider rejects a cached token, Genesis clears the cached OAuth token and retries the request once automatically before surfacing an authentication error. For API-key-backed LiteLLM Proxy mode, if the provider rejects the saved key during runtime, Genesis reloads the saved proxy credentials and retries once automatically before surfacing an authentication error. A later successful proxy call clears the transient validation error state. In Helm-managed deployments, bootstrap OAuth settings from genesis-config.yaml as shown in the infrastructure-managed section above; runtime LiteLLM Proxy admin config is snapshot-first from the resolved APP_CONFIG provider paths (providers.litellm_proxy.*) — explicit DB/UI or file-backed values always beat legacy LITELLM_PROXY_* env vars, which only seed unset fields via default_env_var / secret capture at startup.
In the Current AI Providers page form, enter service-account header values alongside their OAuth custom-header descriptors on Configure; leave a value blank to keep its saved value. The OAuth credential policy is displayed read-only on this form and is managed through providers.litellm_proxy.settings.oauth_credential_policy (default per_user_oauth). The Shared Service Account status row is Unused with per_user_oauth; with service_account or per_user_oauth_with_service_fallback, it is Ready only when the proxy base URL, token URL, client ID, and client secret are set, every required OAuth header has a value, and the server reports no saved-header issue. Otherwise it shows Needs setup, displaying the server’s header issue when one is returned.
The selected Wire Transport is saved as providers.litellm_proxy.connection.transport; saving the provider in the UI no longer replaces that selection with LITELLM_PROXY_TRANSPORT. That environment variable bootstraps an unset transport field.
Wire Transport applies to multi-turn chat turns only. One-shot utility completions — including structured-output helpers such as the Create Mission blueprint recommendation wizard, create_blueprint thread-based blueprint generation (CREATE_BLUEPRINT_FROM_THREADS), auto-titling, and thread compression summaries — stay on the OpenAI-compatible proxy protocol even when Wire Transport is anthropic. The native Anthropic transport preserves prompt caching for chat but does not enforce response_format; routing utility calls through the OpenAI-compatible path keeps structured JSON outputs reliable.
On the OpenAI-compatible route, Genesis accepts chat-completion replies from gateways that encode content as text and reasoning block lists, including streamed replies. No additional transport setting is required for this response shape.
If you’re setting up Databricks in OAuth mode and do not yet have a saved Databricks connection, Genesis keeps Config -> Connections available so you can create and authorize that connection before returning to AI Providers.
For LiteLLM-backed chat calls, Genesis normalizes usage metadata into the standard fields prompt_tokens, completion_tokens, total_tokens, cache_read_input_tokens, cache_creation_input_tokens, and cached_tokens even when upstream providers report cache usage through different LiteLLM response shapes. When LiteLLM exposes trace identifiers, Genesis also records provider_request_id and provider_session_id; for LiteLLM Proxy calls, metadata can additionally include execution_origin.
Anthropic-style prompt caching is enabled by default. These Boolean App Config settings all default to true:
  • providers.litellm_anthropic.settings.cache (ANTHROPIC_CACHE) enables caching.
  • providers.litellm_anthropic.settings.cache_checkpoint_mode (ANTHROPIC_CACHE_CHECKPOINT_MODE) caches the system prompt and checkpoint markers; false restores legacy positional caching.
  • providers.litellm_anthropic.settings.cache_checkpoint_rolling_anchor (ANTHROPIC_CACHE_CHECKPOINT_ROLLING_ANCHOR) anchors the deep breakpoint on stable history instead of the latest user message.
  • providers.litellm_anthropic.settings.cache_proxy_heuristic (ANTHROPIC_CACHE_PROXY_HEURISTIC) adds cache markers for Claude-named models whose caching support cannot be confirmed.
The environment variables are bootstrap defaults only: a value already stored in App Config takes precedence. See the note on default_env_var seeding. On startup, Genesis repairs legacy installations where the cache setting was persisted as false with default schema provenance; an explicit operator choice to disable caching is preserved.Caching continues to work for direct Claude routes and now also stays enabled for Claude-compatible proxy routes such as LiteLLM Proxy when caching is enabled. When LiteLLM Proxy Wire Transport is anthropic, Genesis aligns prompt-cache markers with the native /v1/messages wire path. The proxy heuristic lets Genesis still emit cache intent when the provider path is proxy-mediated but the resolved model or provider is Claude-compatible. When ANTHROPIC_CACHE_CHECKPOINT_MODE=true, Genesis marks the head system prompt, the deterministic cache-checkpoint message, and either (a) a rolling deep-history anchor a few messages behind the newest user turn on long threads, or (b) the latest user message on short threads with no deep history yet. Set ANTHROPIC_CACHE_CHECKPOINT_ROLLING_ANCHOR=false to revert to the legacy behavior that marked only the latest user turn as the deep breakpoint. The rolling anchor keeps the cached prefix stable across turns because per-turn date/time context is appended to the newest user message at the LLM-call boundary, not injected into the system prompt. In provider-request exports, those cache_control markers stay attached to messages[*].content[] blocks so copied JSON and curl payloads match Anthropic-compatible chat APIs more closely.
Databricks chat rate-limit recovery can also use a provider retry_after value from the JSON error body when a standard Retry-After header is absent. Configure the shared recovery window in Advanced Settings. In chat, provider rate-limit waits appear in the completion overlay with a retry countdown and attempt number; see Chat and Threads.

Azure OpenAI model defaults

When Azure OpenAI model discovery is unavailable, Genesis offers the built-in GPT-6 fallback entries: GPT-6.1 Sol (gpt-6.1-sol), GPT-6.1 Terra (gpt-6.1-terra), and GPT-6 Luna (gpt-6-luna). All three support vision; GPT-6 Luna is marked as a fast model. The shipped Azure OpenAI tier assignments are default_chat, premier_model, and supervisor = gpt-6.1-sol, and fast_model, harvester, and knowledge_server = gpt-6-luna. Override these deployment names in Change Models to match the names configured in Azure AI Foundry.

LiteLLM Proxy request identity

providers.litellm_proxy.settings.request_identity.enabled defaults to false. When enabled, Genesis names the person and turn on LiteLLM Proxy requests so the gateway can apply per-user limits. OpenAI-compatible requests carry the user’s email in user, and the thread and turn trace IDs in metadata.session_id and metadata.trace_id; Anthropic Messages requests carry the session and trace IDs in the body. Both routes send X-User-Email, X-Session-ID, and X-Trace-ID headers alongside the proxy connection’s headers. An interactive call uses the current signed-in person’s email; background work uses its owner. System work with no owner can use service_identity. Empty or placeholder emails are not sent. The trace ID is the same ID used by Genesis tracing. Custom field names and header names must be unique and cannot collide with fields or headers already used by the request or proxy connection. A connection header is never replaced by an identity header. The cURL request export follows these settings. Proxy image calls preserve identity headers; Twin embedding requests carry the configured service identity in supported body fields and headers.

Output-token defaults for LiteLLM-managed models

For providers that run through the LiteLLM runtime, Genesis injects a model-aware max_tokens value on chat turns whenever the request does not already include one. The same injection applies to Claude models on LiteLLM simple_completion utility paths — including structured-output helpers such as create_blueprint thread analysis, auto-titling, compression summaries, and blind spec-author compiles — when those callers do not set max_tokens. If the caller explicitly sets max_tokens, Genesis preserves that value (long-output utility callers such as the spec author use this to avoid truncating large JSON even when a frontier model is not yet listed in the table below). Genesis resolves this budget from the technical model identifier using a longest-match-first lookup, so a specific match such as claude-opus-4-7 wins over family fallbacks such as anthropic.claude or bedrock/claude. For gemini-4-carbon, the model’s 1,048,576-token context window is shared by input and output; Genesis caps input at 983040 tokens to leave room for its 65536-token synchronous output. Claude-5 frontier models (claude-opus-5-5, claude-opus-5, claude-fable-5-1, claude-fable-5, claude-sonnet-5) — including anthropic/ and global.anthropic. prefixed wire forms — mirror the caps of their nearest Claude 4.x tier peers in the table above. For Snowflake Cortex, the 64000 API ceiling is applied to claude-opus-5 and claude-opus-4-8. Genesis resolves this per-model cap in both the standard Cortex REST and OpenAI-compatible SDK modes. Cortex model identifiers containing llama, mistral, mixtral, or openai-gpt use an 8192 output-token cap; other known Cortex models retain their model-specific caps, and an unrecognized Cortex model falls back to 15000. The providers.cortex.settings.max_output_tokens setting defaults to null; set it deliberately, or set CORTEX_MAX_OUTPUT_TOKENS, to apply one explicit cap to every Cortex model instead of the per-model table. On thinking-capable Claude 5 models, completion_tokens includes extended thinking tokens, so a 64000 cap typically yields about 35,000–40,000 visible output tokens; use chunked writing for larger outputs.
When chat-tier resolution yields a malformed LiteLLM wire model (for example bedrock/us. with no model id after the route prefix), Genesis logs a warning and treats the tier as unresolved instead of routing the mystery string (which would silently fall back to the 16384 family default). Fix the underlying Change Models assignment or env-tier variable so the resolved wire model ends in a full technical identifier.
If a streamed tool call still reaches the output limit, Genesis treats the turn as truncation when the provider reports a length/max_tokens finish reason or when completion_tokens reaches the configured max_tokens cap. Snowflake Cortex and some other providers can underreport finish_reason (for example stop or tool_calls) while still consuming the full output budget. Genesis tags the last in-flight tool call—even when its accumulated arguments are syntactically valid JSON but missing required fields—instead of repairing partial JSON and surfacing a misleading required-field validation error. Agents recover by retrying the work in smaller chunks.
For reproduction or integration tests that need a lower output budget on LiteLLM-managed chat paths, set llm.max_output_tokens_override to a positive integer. Genesis uses that value for every model’s injected max_tokens instead of the per-model defaults in the table above. The environment variable GENESIS_MAX_OUTPUT_TOKENS_OVERRIDE still works: it sets the field when the configuration loads, a saved value beats it, and GENESIS__LLM__MAX_OUTPUT_TOKENS_OVERRIDE beats both.
When a one-shot LiteLLM simple_completion utility call — auto-titling, thread compression summaries, blueprint thread analysis, and similar helpers — exceeds the model context window, Genesis retries once with a truncated prompt: it keeps the head and tail of the input and elides the middle with a marker noting how many characters were dropped. If the excerpt still cannot fit or truncation would not shrink the prompt, Genesis surfaces a typed context-limit failure (Context length exceeded. Please reduce the input size.) instead of looping. Main multi-turn chat turns use separate trimmer and compression paths; this recovery applies only to auxiliary simple_completion calls.
For LiteLLM-backed and Cortex REST chat calls, LLM CALL START, LLM CALL END, and LLM CALL FAIL server log lines append a structured llm_metrics suffix (for example llm_metrics provider=litellm_bedrock engine=litellm model=... stream=true duration_ms=... ttft_ms=... prompt_tokens=... completion_tokens=...). The human-readable prefix still includes finish_reason=<value> and max_tokens=<value> on END lines. Use both together when correlating provider flips or diagnosing truncated responses: finish_reason=length (or max_tokens) means the call hit its output-token cap. When completion_tokens is at or above max_tokens, treat the turn as capped even if finish_reason looks normal (for example Cortex stop or tool_calls). LiteLLM also normalizes Anthropic’s max_tokens stop reason to length.
For integration debugging or reproduction, set GENESIS_CAPTURE_COMPLETIONS=1 (or true, yes, or on) to capture LLM request payloads to disk. Capture is disabled by default and has zero overhead when unset. Secrets are redacted before persistence.LiteLLM-backed chat calls (OpenAI, Azure OpenAI, Databricks, LiteLLM Proxy, Bedrock, Anthropic, and other LiteLLM routes) write redacted dumps under bot_storage/litellm_calls/: level-(a) files capture the final call kwargs at the LiteLLM boundary (litellm_call_*), and level-(b) files capture the assembled wire request body and headers via LiteLLM’s pre-API-call hook (litellm_wire_*). Level-(b) capture applies to main sync and async chat turns only — one-shot probe and retry helper paths record level-(a) only. Known secret keys (api_key, extra_headers, AWS credentials, vertex_credentials, azure_ad_token) and auth-related header values are replaced with a redaction placeholder; the client object is omitted.
When a LiteLLM-backed provider is active, Genesis does not treat a leftover CORTEX_MODEL environment variable as the LiteLLM default model. Set the provider’s models in Change Models (or with PUT /api/config/models/main/assignments) so auxiliary LiteLLM paths fail clearly when no model is configured rather than silently routing through an OpenAI placeholder id.

Claude 5 token pricing

Genesis bundles token-price entries for Claude 5 models so Thread Cost Analysis can use catalog pricing when LiteLLM’s remote price map is unavailable, including in offline or air-gapped deployments. No setting is required. The entries cover claude-opus-5-5, claude-opus-5, claude-sonnet-5, claude-fable-5-1, and claude-fable-5 under their bare Anthropic names and matching global.anthropic.* Bedrock IDs, plus the corresponding databricks-claude-* serving endpoint IDs. Bedrock regional pricing is pinned for us, eu, apac, au, and jp profiles of Opus 5-5, Opus 5, and Sonnet 5; us, eu, apac, and au profiles of Fable 5; and us and eu profiles of Fable 5-1. The us-gov profile is priced for Opus 5-5, Opus 5, Sonnet 5, and Fable 5-1. Other regional or GovCloud Claude 5 IDs do not fall through to a base-model price.

GPT-6 token pricing

Genesis includes built-in token-price entries for gpt-6.1-sol, gpt-6-astra, and gpt-6-luna so Thread Cost Analysis can estimate costs when LiteLLM’s remote price map is unavailable, including in offline or air-gapped deployments. No setting is required. Genesis uses flat rates and does not model OpenAI’s higher rates above 272,000 input tokens (2x input and cache rates, and 1.5x output rates).

Gemini 4 Carbon token pricing

Genesis also fills missing LiteLLM prices for Gemini 4 Carbon in Thread Cost Analysis; a live LiteLLM price entry takes precedence. No setting is required. Prices are USD per million tokens:

Temperature parameter allowlist

Genesis gates custom temperature on a per-model allowlist in config/llm_config.yaml under llm_parameter_overrides.temperature_supported_models. The shipped default is an empty list, so Genesis omits temperature from provider requests and the model uses its own sampling defaults. Both the main chat loop and auxiliary LiteLLM simple_completion paths (thread compression, debrief summaries, auto-titling) consult the same allowlist via supports_custom_temperature. A caller may pass temperature, but Genesis forwards it only when the resolved model id is on the list.
Some models — for example Bedrock global.anthropic.claude-opus-4-7 — reject or deprecate temperature with a 400 error. LiteLLM’s drop_params cannot strip it because LiteLLM’s static metadata still reports temperature as supported for the family. Keep such models off the allowlist unless your provider documents explicit support.
Allowlist entries are matched after normalization: Genesis strips the provider prefix up to the first / and lowercases the remainder. To allowlist global.anthropic.claude-opus-4-7, add that AWS-native identifier — not the bare suffix claude-opus-4-7 and not a bedrock/ wire-form prefix.

Reasoning effort parameter gating

Genesis forwards the OpenAI reasoning_effort request parameter only when the resolved model accepts it. OpenAI, Azure OpenAI, and Databricks run on the LiteLLM engine. For models other than the GPT-6 models listed below, Genesis forwards reasoning_effort only when LiteLLM’s capability signals agree for the resolved model — supports_reasoning, a chat mode (not Responses), a model-specific entry in LiteLLM’s model map, and reasoning_effort in the provider’s supported- parameters list. This keeps Claude and other non-reasoning models from receiving the parameter. Azure deployments whose wire name is opaque can opt in via providers.azureopenai.settings.deployment_base_models. For GPT-6, Genesis checks the requested effort against OpenAI’s published per-model levels: gpt-6.1-sol and gpt-6-astra accept low, medium, high, xhigh, and max; gpt-6-luna also accepts none. minimal is not supported by these models. On an offline installation using LiteLLM’s bundled model-price map, LiteLLM can drop xhigh when the map does not declare it, so the model uses its default effort for that request. When a caller supplies reasoning_effort but the resolved model does not support it, Genesis omits the parameter from the provider request instead of forwarding it. Providers such as Databricks reject unsupported kwargs with 400 reasoning_effort: Extra inputs are not permitted; dropping the parameter keeps auxiliary paths (for example compression summaries that pin reasoning_effort='low') from failing on those models. On the LiteLLM proxy, Gemini 3 and later models accept low, medium, or high. For these models, Genesis maps xhigh and max to high. The message’s reasoning_effort overrides the deployment setting llm.opus55_effort (default ""); an empty value leaves the provider default unchanged.

Inherited chat tier

When you open Change Models for a configured chat provider, Genesis also lets you set Inherited Chat Tier. This provider-level default can be Premiere, Main, or Fast. Genesis uses it for new and legacy chats whenever neither the agent nor the thread has an explicit tier override. When you save a main chat model in Change Models, Genesis assigns it to Supervisor, Harvester, and Knowledge Server as well, except for a role still managed by Genesis defaults, which keeps its own catalog seed. The shipped main chat defaults are gpt-6.1-sol for default_models.openai.default_chat, the gpt-6.1-sol deployment name for default_models.azureopenai.default_chat, databricks-claude-opus-5-5 for default_models.databricks.default_chat, claude-opus-5-5 for default_models.cortex.default_chat, anthropic/claude-opus-5-5 for default_models.litellm_anthropic.default_chat, and global.anthropic.claude-opus-5-5 for default_models.litellm_bedrock.default_chat. The Databricks Supervisor, Harvester, and Knowledge Server seeds therefore resolve to Opus 5.5, and the Cortex Supervisor and Harvester ones too. Snowflake Cortex’s defaults follow the endpoint its chat turns use (providers.cortex.settings.api): on the Messages API, the default, Premiere and Main are claude-opus-5-5 and Fast is claude-haiku-5-5; on Chat Completions, which answers “unknown model” for the Claude 5.5 models, they are claude-opus-5 and claude-haiku-4-5 (cortex_chat_completions_default_models in config/llm_config.yaml). An existing Cortex install whose tiers are on Genesis defaults moves to the 5.5 defaults the way any default change arrives: each tier switches once one tiny completion on that model answers, and keeps its working model until then. Switching a connection to Chat Completions moves its Genesis-default tiers to the Chat Completions defaults in the same save; if you chose a Claude 5.5 model for a tier yourself, the save is refused with a message naming that tier, so choose a model Chat Completions serves for it first. Change Models likewise refuses a Claude 5.5 model while the connection is on Chat Completions. The OpenAI catalog seeds supervisor and premier_model on gpt-6.1-sol, and fast_model, harvester, and knowledge_server on gpt-6-luna. The Azure OpenAI catalog seeds default_chat, premier_model, and supervisor on gpt-6.1-sol, and fast_model, harvester, and knowledge_server on gpt-6-luna. Genesis applies those seeds at startup and on Use Genesis defaults to every role still managed by Genesis defaults, so a default-managed OpenAI Harvester or Knowledge Server stays on gpt-6-luna across saves and restarts. Azure assignments are deployment names: automatic reconciliation (startup and provider saves) does not replace a stored Azure deployment with a catalog seed. Use Genesis defaults is an explicit reset: it writes the seeds as deployment names, so create deployments with those names or choose your own deployments. When an Azure role is empty, its stored main chat deployment is used before falling back to that role’s catalog seed. The LiteLLM OpenAI provider uses prefixed model identifiers; see Provider seed defaults for main assignments for its shipped default_chat and fast_model values. Inherited Chat Tier controls which model tier Genesis chooses by default, but it does not directly set the working context budget. Agent Center can apply a per-agent Context Soft Limit, and the Thread Details drawer can narrow that limit again per thread or first turn. When no soft-limit override is set, Genesis uses the resolved model default and still clamps overrides to stricter environment or legacy ceilings when present. When that Thread Details drawer needs to show the active model for an existing conversation, Genesis can also reuse the most recent assistant-used model and provider for the thread when available, so the model view stays aligned with the last completed response instead of waiting for another turn.

Model assignment sources

Genesis records how each provider task-type model was chosen in APP_CONFIG under providers.<provider>.model_selection_mode.<task_type>:

When a Genesis default changes

When a release changes the Genesis default for a task type, a default task type that holds a different working model is not switched blindly. Genesis first sends the new model one tiny completion (a few tokens) in the background, using the provider’s saved credentials:
  • It answers: the task type moves to the new default.
  • The provider refuses the model: the task type stays on its working model and becomes deferred_default. Admins see one notice in the notification bell, for example “Fast model is staying on Claude Haiku 4.5: Claude Haiku 5.5 isn’t available on your Snowflake Cortex account yet. Genesis will switch automatically when it is.” AI Providers shows the tier as waiting for the new model. Genesis re-checks after every restart and then once a day (jobs.default_model_probe.reprobe_interval_seconds, default 86400); when the model answers, the task type switches, returns to default, and admins get a second notice.
  • The check is inconclusive (a timeout, a rate limit, a 5xx, a network or DNS failure, rejected credentials): nothing changes and nobody is notified; Genesis retries with a growing delay.
Use Genesis defaults runs the same check while you wait and shows a refused model inline instead of saving it. override task types are never checked or changed. The background prober is enabled by default (jobs.default_model_probe.enabled: true). Its first tick runs as the server starts, then it checks due tiers every jobs.default_model_probe.interval_seconds seconds (default 300). Deferred tiers are re-checked after every restart and at most every jobs.default_model_probe.reprobe_interval_seconds seconds (default 86400); inconclusive probes are retried sooner, with a growing delay capped at that interval. Set jobs.default_model_probe.enabled to false to assign changed defaults on restart without a check, as earlier releases did. When you re-save a provider connection — for example rotating an API key or editing endpoint settings — Genesis reapplies packaged default models only for task types whose source is default. Task types you pinned with override keep their saved model ids. During the one-time LLM defaults migration on upgrade, Genesis reloads the current APP_CONFIG before classifying assignments, resets only Genesis-managed task types that have concrete provider defaults, and preserves an explicit override when its stored model is present. Providers without concrete defaults are left unchanged. When no selection source was recorded for an existing assignment, Genesis treats the model as default-managed only when it is empty or exactly matches today’s shipped default for that provider and task type. Any other existing model is treated as an operator override and remains unchanged. Genesis logs these declined default upgrades at warning level; to use the current shipped model, re-pin the tier in Change Chat Models via Use Genesis defaults.

Check assigned model availability

The default-model prober also checks the Premier, Main, and Fast assignments of each configured provider and the active embedding model. It stores each verdict as llm.model_availability; a check never changes an assignment. The health report at GET /api/config/llm-providers/llm/health marks the service degraded only for an unavailable tier on the active chat provider or the embedding model. It lists other providers’ verdicts without counting them toward health. An outage opening or recovery produces one admin notice and Admin Audit Log entry per change for those health-counted assignments. jobs.default_model_probe.assignment_checks_enabled (default true) enables these checks, and jobs.default_model_probe.assignment_check_interval_seconds (default 21600, six hours) sets their interval. The first check runs on the prober’s first tick after server start; later checks run at the first hourly full-check tick after the interval has elapsed, so they can be up to an hour late. Checks run only while jobs.default_model_probe.enabled (default true) is enabled. Each check uses the provider’s saved credentials and costs one small completion per distinct assigned chat model per configured provider, plus one embedding request.

LiteLLM Proxy model selection

When you save or update a LiteLLM Proxy configuration, Genesis discovers models from the proxy, enriches each alias with metadata from the proxy /v2/model/info catalog when available (underlying model id, token caps, mode, and capability flags), and materializes the result into Model Universe with source_type: discovered. Discovered proxy rows appear on Model Universe with their underlying model shown in the model details dialog when known. Custom operator-added rows remain authoritative over discovered rows with the same technical name. On the first save when no chat provider is explicitly active in APP_CONFIG, Genesis auto-activates LiteLLM Proxy only when discovery yields usable tier assignments or you supplied an explicit Model on the form. The Snowflake Cortex zero-config default does not count as an explicit active provider — a freshly configured proxy can still take over when llm.active_provider was never set. If discovery fails or the proxy advertises no models and you left Model blank, Genesis saves the connection but does not flip the provider active (avoiding an empty default that would fall back to OpenAI). Re-saving after Approve External Access on SPCS, or after fixing endpoint/credentials, can activate the proxy once models are reachable. When the API returns a non-blocking warning_message, AI Providers surfaces it as a warning toast after save — for example guidance to approve External Access and save again on SPCS, or a note that the proxy was saved but not activated. For LiteLLM Proxy, providers.litellm_proxy.models.default_chat, providers.litellm_proxy.models.fast_model, and providers.litellm_proxy.models.premier_model have schema defaults of null. When an environment-selected default_chat is present at startup and the stored fast_model or premier_model assignment is empty, Genesis fills that role from the main model. If no fast model is configured and fast-tier work falls back to default_chat, Genesis sends it as a main-tier request rather than asking the proxy for a missing fast alias. Assign a dedicated model in Change Models when the proxy provides separate fast or premier aliases. When you open Change Models for a configured LiteLLM Proxy provider, Genesis serves the picker from materialized Model Universe entries when present. Opening Change Models, the Embeddings model step, or the models step in the new-connection drawer also triggers POST /api/config/model-universe/refresh?provider=litellm_proxy so models added to the proxy after the connection was saved appear without re-saving that connection. Tier assignments are not re-inferred on refresh — only the universe snapshot is updated. When /models discovery fails during save, refresh, or self-heal materialization, Genesis skips universe updates and preserves any existing materialized rows; the refresh API reports Could not refresh the model list; the saved list is unchanged. When the universe is still empty, Genesis idempotently runs discovery and materialization on that read path so underlying-model badges can appear without re-saving the provider connection. Before the first successful materialization, Genesis falls back to live /models discovery so the picker is not empty on first setup. Genesis does not merge recommended-default catalog entries into these pickers. When no tier assignments are persisted yet, Genesis read-only infers premiere/main/fast defaults from the materialized universe to preselect the Change Models tiers — this inference never persists or activates the provider. In Override Genesis defaults mode, each tier (Premiere, Main, Fast) uses an editable combobox: pick a discovered model from the dropdown or type a custom proxy model name (for example a deployment alias the proxy accepts but does not advertise on /models). When an underlying model is known, the picker shows a badge with the resolved backend model id and includes it in search text. In Use Genesis defaults mode, the per-tier inputs are disabled and Genesis shows the inherited defaults. Tier defaults inferred on save score aliases together with their underlying model names so generic proxy aliases (for example all-team-models) can still map to the correct Claude or GPT family. Main takes the Claude version Genesis ships for the Anthropic provider (default_models.litellm_anthropic, currently Claude Opus 5.5), or the newest Opus the proxy offers; a Model you set on the proxy form still decides Main. Premiere and Fast stay on Main’s route — the provider named in front of claude in the alias or its underlying model, such as bedrock- or snowflake-. On that route each takes the shipped version (Claude Opus 5.5 for Premiere, Claude Haiku 5.5 for Fast), else the newest model of the family there; a Haiku 5.5 offered only through another route does not move Fast off Main’s route. Only when Main’s route has no model of the family does Genesis look at other routes, and with none anywhere the tier falls back to the Main model. Genesis surfaces discovery state at the bottom of the modal:
  • Stale selection (yellow): a saved or typed model is not in the proxy’s current /models list. Genesis highlights the row but does not block saving — the proxy may still serve unlisted models.
  • Empty list (yellow): the proxy responded successfully but advertised no models.
  • Discovery error (red): Genesis could not fetch /models (network failure, HTTP error, or invalid response). The banner includes a one-line error summary such as HTTP 503.
Reopening a model-picking screen inside the throttle window (llm.proxy_universe_refresh_interval_seconds, default 300) skips the proxy round-trip and reuses the saved universe. Set the interval to 0 in Advanced Settings to re-discover on every open. The UI reloads chat and embedding model lists only when the refresh reports models were added or removed (changed: true).

LiteLLM Proxy: naming people by an Okta attribute

With request identity on (providers.litellm_proxy.settings.request_identity.enabled), every request Genesis sends to your LiteLLM Proxy names the person it is made for. By default that name is the person’s email. If your gateway applies per-person limits by a different identity-provider attribute, such as the Okta employeeNumber, Genesis can send that attribute’s value instead. Genesis learns each person’s value from their own signed sign-in token, so nobody can type in or change their own value.

Before you start

  • Genesis must sign people in through Okta (or another OpenID Connect provider) itself: authentication is on (auth.enabled), auth.provider is oidc (or auth0), and both auth.issuer and auth.audience are set. auth.audience is required because without it Genesis checks no audience, and a token issued for another application of the same authorization server could record a value. For the same reason no auth.additional_issuers entry may name the auth.issuer issuer: sign-in would check that entry’s audience instead of auth.audience. Genesis refuses to save the setting otherwise, and records no value while such an entry is set by an environment override or a config file.
  • The value must be text or a whole number of at most 256 printable ASCII characters, with no spaces at either end.

Set it up

  1. In Okta, open the authorization server Genesis signs in through (Security → API → Authorization Servers, the server whose issuer URL is auth.issuer) and add a claim on the Claims tab. Set Include in token type to Access Token: Genesis reads the claim from the access token only, never from the ID token or the userinfo endpoint. Give it a value such as user.employeeNumber, include it in every scope Genesis requests, and note the exact claim name, for example employeeNumber. Genesis matches the name exactly, as a top-level claim.
  2. Make sure people cannot edit the attribute themselves. In Okta, set the attribute’s User permission to Read Only or Hide in the profile editor; a person who can edit their own employee number could take someone else’s gateway limit.
  3. In Advanced Settings, set providers.litellm_proxy.settings.request_identity.user_claim to the claim name. A save is refused, with the reason, for a name that is not 1-255 printable ASCII characters without spaces. While request identity is on, a save is also refused when authentication is off, when auth.provider is not oidc or auth0, when auth.issuer or auth.audience is empty, or while an auth.additional_issuers entry names auth.issuer; the same checks refuse a sign-in change that would break a configured claim, and turning request identity on. While request identity is off, a saved claim is unused and the sign-in settings can change freely.
  4. Tell your gateway which field to key on (see Which field the gateway should read).
  5. Ask everyone to open Genesis once. Genesis records a person’s value from the next signed request their browser sends; anyone whose current session started before the claim was added to the token must sign out of Genesis and sign in again.
From then on, every LiteLLM Proxy request made for a person carries their recorded value, including the scheduled jobs, handoffs, thread titles and thread compression that run for them while they are away. Requests to other AI providers are unchanged. Actions a person starts outside a chat turn carry that person’s value too:
  • debriefs of a thread or a Journey, the blueprint wizard, blueprint creation, and the cards the guided start writes after “What would you like to see first?” (the Launchpad guide, POST /api/launchpad/guide) carry the value of the person who asked for them;
  • a tool run through the tool-call API (which MCP clients use) carries the value of the person it was authenticated as; a caller signed in with a machine token keeps the service identity, because Genesis never records a value for a machine token;
  • a sandbox thread’s AI title carries the value of the person whose message it titles;
  • thread compression’s summaries made outside a chat turn carry the thread owner’s value.
Without a recorded value these requests are refused like any other. A debrief then falls back to the summary Genesis builds without AI, and a sandbox thread keeps its first-line title. The SQL safety check. When the SQL intent check is on (GENESIS__SAFETY__SQL_INTENT_GUARD__ENABLED, or the agent’s own safety setting), the agent’s SQL tools (database queries, Snowflake SQL API queries and Databricks run_sql_statement) ask the AI model whether a destructive statement matches what the person asked for before running it. That check is billed like the tool call that makes it: in a chat turn, the person who sent the message; through the tool-call API, the person the call was authenticated as, or the service identity for a machine token; in a flow step, the service identity. If the gateway refuses the check because the person has no recorded value, or the recorded value cannot be read, the check is not made and the statement is not run, whatever its severity; the tool answers with the reason (“sign in again”; “try again shortly”; or, when the call names no person at all, “run it from a Genesis chat”). The Data browser’s own query runner makes no SQL safety check.

When a person has no recorded value

If a request is made for someone with no usable recorded value (they have not used Genesis since the claim was set, their token does not carry the claim, or the value was recorded under a different claim name or issuer), Genesis does not send it: never with their email instead, and never without a user. The person sees:
Your organisation’s AI gateway needs your sign-in identity. Sign out of Genesis, sign in again, then retry.
The fix is in the message: once their new token carries the claim, the next request records the value. If their token still lacks the claim, check the Okta claim settings from step 1. The same applies to their scheduled jobs: they fail with this message until the person opens Genesis. A model Test on the AI Providers page, when it runs through the shared proxy credentials, is billed to the administrator who runs it, and reports “sign in again” when that administrator has no recorded value. Test connection is a connectivity check: its one small request goes with the proxy’s credentials (or your own OAuth grant) and names no person, with or without a claim.

Who is refused and who uses the service identity

Some work is not done for a signed-in person:
  • Refused while the claim is set: Slack messages from people whose Slack account is not matched to a Genesis user, and messages a Slack channel monitor answers (they run as a service account that never signs in); a matched Slack user is refused until they have opened Genesis once. Microsoft Teams messages are refused, because Genesis does not match a Teams sender to a Genesis user. A handed-off thread whose parent named no person is refused too.
  • Sent as the service identity (request_identity.service_identity, or with no user when that is empty): work for no one, such as Digital Twin scans, startup document indexing, metadata harvesting, scheduled room summaries, background agent reviews, Slack channel-watch triage, the provider check made before a seat starts, and tools that a caller signed in with a machine token runs through the tool-call API. A few actions a person starts are still sent this way, because the person is not yet passed down to the AI call: blueprint reviews run from the blueprint editor and its draft checks, searches and uploads on the Documents page, the smaller distillation steps of thread compression when they run outside a chat turn, the Launchpad’s guided start (the “What would you like to see first?” card), the Launchpad’s example requests, the reply the chat composer suggests, and the SQL safety check of a tool a flow step runs. These are sent even for a person with no recorded value. None of these requests carries another person’s value or anyone’s email.
A GenesisApp that runs with a delegated token makes its AI calls as the person who deployed it, so its usage counts against the deployer’s gateway limit.

Which field the gateway should read

Genesis sends the value in the user header on every request (X-User-Email by default; rename it with request_identity.header_names, for example {"user": "X-User-Id"}), and also as user in the body of OpenAI-compatible requests. Requests for Claude models go to the proxy’s Anthropic Messages route, where Genesis sends the value in the header only. LiteLLM Proxy picks the end user from the first of these it finds: the x-litellm-customer-id or x-litellm-end-user-id header, the header named by its general_settings.user_header_mappings, then the body’s user, litellm_metadata.user and metadata.user_id. Key your gateway on the header, not the body: either set request_identity.header_names to {"user": "x-litellm-end-user-id"}, or map Genesis’s header name in the gateway’s user_header_mappings. The body is not reliable on every route: on the Anthropic route Genesis sends no user in the body, and LiteLLM drops a metadata.user_id that looks like a phone number there, so a purely numeric value of seven or more digits would be lost from the body. While the claim is set, Genesis also removes any identity a Claude Code sandbox puts in the body it forwards to the LiteLLM Proxy, so only the value Genesis resolved reaches the gateway. A sandbox whose model runs on another provider, such as Databricks, forwards its body unchanged.

Checking what is sent

On a message in a LiteLLM Proxy thread, Copy cURL request reconstructs the request. For your own messages it shows your value as recorded now, which may differ from the value the original request carried if it changed since. For anyone else’s message in a shared thread it shows <gateway identity of the person who sent this message>, and when you have no usable value it shows <no gateway identity recorded>; it never shows an email. To see exactly what a past request carried, check the gateway’s own request log.

Limits to know

  • A recorded value is never cleared by a token without the claim. If you remove the attribute in Okta, Genesis keeps sending the last recorded value. Only a newer token from auth.issuer that carries a valid value replaces it. To invalidate every recorded value, change user_claim to a different name (or change auth.issuer); to remove one person’s value, delete that user in Genesis. Switching the claim name back later makes values recorded under the old name usable again.
  • Tokens from auth.additional_issuers are accepted for sign-in but never record a value. Genesis Desktop, app frame links and other sign-in tickets record none either.
  • Two tokens issued in the same second: the first one recorded wins until a later token arrives.
  • Other server processes see a changed value within about a minute. Each Genesis server process, including Genesis’s own background workers on the same server (for example the one that compresses long threads), keeps a person’s recorded value in memory for up to a minute. The process that records a changed Okta value, or deletes the user, uses the change at once; other processes and replicas pick it up within about a minute, so a deleted user’s value can still be sent by another process for up to a minute. A change to user_claim or auth.issuer is not delayed by this.
  • Deactivation: a person deactivated through SCIM can no longer sign in, but this feature does not stop background jobs that already run for them.

LiteLLM Proxy embedding dimensions

When LiteLLM Proxy is the active embedding provider on the Embeddings tab, Genesis must resolve each model’s output_vector_size before creating document indexes and other vector-backed features. LiteLLM’s local model registry does not include embedding metadata for proxy-routed SKUs, so Genesis applies built-in dimension mappings for common proxy embedding models: Genesis matches saved picker values and runtime model names with a case-insensitive substring lookup against this table, then falls back to the last row when no specific match is found. If your proxy exposes an embedding model whose true vector width is not 1536 and the model name is not listed here, document index creation may fail or allocate the wrong vector width until Genesis adds an explicit mapping.
Verify the embedding model you select on the Embeddings tab appears in the table above (or is a name that contains one of those identifiers). Proxy aliases that do not substring-match a known SKU rely on the 1536-dimension fallback.

Embedding model setup in the connection wizard

Providers that expose embedding models in Change Models or the New connection wizard include OpenAI, Azure OpenAI, Snowflake Cortex, Databricks, AWS Bedrock, Google Gemini (gemini / litellm_gemini), Google Vertex AI (litellm_vertex_ai, after Genesis Desktop confirmation), and LiteLLM Proxy (litellm_proxy, via live /models discovery). Anthropic is chat-only — it has no embedding models and does not show an embedding picker. When you open Change Models for a provider that is not the active embedding provider, Genesis does not pre-select the globally active embedding model in that provider’s picker — each provider’s embedding section reflects only that provider’s saved preference (or starts empty in edit mode). In New connection create mode, Genesis turns the embedding toggle on and pre-selects the provider catalog’s default embedding model when it is available, otherwise the first available model, so new providers are ready for embeddings out of the box. Saving stores the choice as a per-provider preference at providers.<provider>.models.embedding_model. When no global embedding identity exists yet and the on-disk document corpus is empty, Genesis may also adopt that provider/model as the first active embedding through the first-save adoption rule (see below) — the UI shows a success or warning toast from the save response’s embedding_adoption outcome. Otherwise the global active embedding stays unset until you explicitly Set Active for Embeddings on the Embeddings tab, select embeddings on the wizard’s Done step, or call PUT /api/config/models/embeddings/config with activate: true; saving only the preference does not reindex. When you later activate that provider for embeddings, Genesis uses the saved providers.<provider>.models.embedding_model before falling back to the packaged yaml default. When Genesis saves an active embedding model whose vector size is not in its catalog, such as a Unity AI Gateway service or Azure deployment, it records the observed size in embedding.active_dimensions (int, default 0) and the corresponding model in embedding.active_dimensions_model (str, default ""). Genesis uses that size only when the active model matches the recorded model; changing the active model does not carry the old size forward. If neither the save’s test nor another caller supplies a measured size, the save makes one embedding request for a short string to discover it. A failed probe leaves the size at 0 and does not fail the save.

First-save embedding adoption

When no embedding identity is persisted yet, provider saves that include an embedding model preference — Change Models, the New connection wizard, and PUT /api/config/models/embeddings/config with activate: false — may attempt a one-time adoption of that provider/model as the global active embedding. Genesis only writes the pointer when the on-disk corpus is provably empty; existing user documents block automatic adoption so Genesis does not silently point at the wrong embedding space. Provider-save and embedding save-only responses may include embedding_adoption: See Embedding configuration endpoints for the full API field reference.

Recovering stranded document corpora

When document indexes exist on disk but no embedding identity resolves (unset or incomplete), the Embeddings tab shows a Recover document corpora card below the no-active-embedding message. The card lists on-disk Chroma collections Genesis found that are not the active embedding space, reconciled from collection metadata: For a proposable row, Adopt calls PUT /api/config/models/embeddings/config with activate: true and test_before_save: true, switches the global embedding to that identity, and starts background re-embedding. The same card appears on both Legacy (/config/llm-providers/) and Current (/config/ai-providers/) Embeddings tabs. Operators can also inspect corpora through GET /api/config/models/embeddings/stranded-corpora — see Stranded embedding corpora response.

Document indexes and embedding-model changes

Genesis stores document-index embeddings in model-specific Chroma collections named {provider}_{sanitized_model}_index. Listing, search, and the Config → Documents page always use the collection for the active embedding.active_provider and embedding.active_model. When you change the embedding provider or model, Genesis re-points to the new collection. Indexes that still exist only in a prior model-specific collection are not deleted — they remain on disk — but they are not searchable until re-embedded. Genesis surfaces them instead of hiding them:
  • Config → Documents shows a Needs reindex badge on affected indexes.
  • GET /api/indexes and _document_index action GET_INDICES_STATS include those indexes with needs_reindex: true and the file count from the stranded collection.
Saving a change on the Embeddings tab (or PUT /api/config/models/embeddings/config with activate: true) switches the global active embedding and starts background re-embedding only when replacing an existing active embedding. On first-time embedding setup — when no prior embedding.active_provider and embedding.active_model were saved — Genesis skips the reindex because no documents were indexed under a prior model. When reindexing does run, Genesis performs a full sync from prior {provider}_*_index collections for indexes missing in the active collection (not an incremental skip based on last_indexed_at). Progress is available via GET /api/config/models/embeddings/reindexing-status. To restore indexes immediately without re-embedding, switch back to the prior embedding model so the original collection becomes active again. The reindexing banner appears on Config → AI Providers and Config → Documents for users with access_config_panel; it refreshes status every two seconds while either page is open, including during a manual REINDEX from Document Index Tools. For Snowflake Cortex, when no explicit embedding.active_model is saved, Genesis resolves the configured yaml default (e5-base-v2) before the recommended-model catalog order. Startup migration aa013_cortex_embedding_default_pin pins existing unset Cortex deployments to that prior effective default on upgrade.

Embedding provider validation and coherence

Genesis validates and normalizes embedding configuration at read time, on save, and once at startup so document indexing does not silently route through the wrong backend (for example a Cortex-only model through OpenAI on SPCS). No OpenAI fallback. When no complete embedding identity resolves — no saved embedding.active_provider / embedding.active_model pair (whether stored or seeded from EMBEDDING_PROVIDER / EMBEDDING_MODEL) and no eligible Cortex mode override — Genesis leaves embeddings unavailable. It does not infer a default OpenAI embedding model from chat configuration or ambient OPENAI_API_KEY. Document-index writes fail closed with error_type: "embedding_not_configured" (or provider_not_configured when a pointer exists but credentials are missing). For REST document uploads, these errors are returned as HTTP 409 if detected before the upload is accepted. If the provider becomes unusable after a 202 acceptance, the background upload instead finishes with failed; see Manage Document Indexes over REST for polling and failure details. Configure embeddings explicitly on the Embeddings tab, adopt a stranded corpus (see Recovering stranded document corpora), or set embedding.active_provider / embedding.active_model in genesis-config.yaml. Provider/model coherence. embedding.active_provider and embedding.active_model (and legacy EMBEDDING_PROVIDER / EMBEDDING_MODEL env vars) are read as independent values. A stale or partial write can pair a Cortex-only catalog model such as e5-base-v2 with a non-Cortex provider. When the deployment can serve Cortex embeddings — Snowflake Native App / SPCS, or Cortex configured with public REST access — Genesis corrects that mismatch to provider: cortex and logs a warning. Only this specific mismatch is corrected; other provider/model pairs pass through unchanged. Providers with arbitrary customer-defined model namespaces (azureopenai, litellm_proxy) are never auto-corrected — a name that happens to match a Cortex model id is treated as coincidental, not misconfiguration. Save and connection test. On the Embeddings tab (and PUT /api/config/models/embeddings/config with default test_before_save: true), Genesis pre-checks credentials before calling the embedding backend: single-API-key providers (openai, anthropic, gemini) must have a saved key or matching env var; databricks requires both a saved token and workspace URL. Missing credentials return a clear error instead of an opaque connection failure. When test_before_save is false, a successful save may still include details.warning if the saved embedding provider differs from llm.active_provider and the embedding provider has no configured API key — embedding calls will fail until credentials are added. In Config -> AI Providers, connection and model tests include an embedding check only when an embedding model is configured for that provider; they do not substitute the model that would be selected during activation. The Embeddings step tests the model activation would use. See the model test API for request behavior and timeout. Startup smoke test. After syncing embedding configuration at boot, Genesis runs a one-time embedding connection test (5-second timeout for LiteLLM-routed providers; the Cortex path does not issue that live call). Failures are logged at ERROR with a message such as failed startup smoke test but do not block startup. Search Pulse Live Logs or server logs when document indexing fails immediately after a restart. Embedding health notice. The Embeddings tab and the Current AI Providers hero card query Digital Twin for its current embedding verdict when the page opens. The notice does not infer health from a saved provider or model: ok means Twin has observed successful embedding calls, systemic_failure means Twin has observed a persistent failure, and unverified means Twin cannot yet establish either result. If Twin is unavailable, restarting, or has no embedding client, the notice shows an unknown status. The check is bounded to 5 seconds and does not block the provider and model configuration from loading. After a selection change, the notice can show an unavailable status; see the embedding health API response for when this occurs and how to apply the saved selection.
Deliberately choosing a new embedding model (for example moving from e5-base-v2 to another Cortex embedding SKU) re-embeds all stranded documents and incurs embedding cost. Reverting to the prior model restores the original collection without data loss when the prior collection is still on disk.

Digital Twin reload behavior

When an embedding provider or embedding model changes, Genesis sends RELOAD_EMBEDDING_CONFIG to Digital Twin so Context Graph and semantic indexing flows can pick up the new runtime. When LiteLLM Proxy is the active embedding provider, the reload payload includes the resolved api_base, api_key, and extra_headers from the proxy runtime (for example OAuth downstream custom headers or static_headers entries) so Twin-side embedding calls authenticate the same way as Genesis-side embedding requests. When Twin’s lineage tool is registered, saving provider connection settings also resends the persisted embedding provider and model. This lets Twin use credentials or settings that became usable after it started, without a Genesis restart. Re-saving an unchanged embedding identity also resends it but does not reindex documents. If Twin is not running yet, it reads the current configuration when it starts. When AWS Bedrock is the active embedding provider, the reload also carries the resolved Bedrock litellm_kwargs in extra. Twin sends those per-request kwargs with every Bedrock embedding call: the saved bearer key, region and endpoint, and for a custom endpoint with a non-bearer custom_auth_header the gateway API key in that header. Genesis does not put these values in Twin’s environment. IAM calls sign with the AWS credential chain. If Genesis cannot resolve the Bedrock connection when it sends the reload (for example, an external secret store fails), the reload carries only the provider and model, and Twin gets the kwargs from a later scan-cycle credential refresh. For how Twin receives provider credentials in a Databricks App, see Genesis as a Databricks App. Genesis also resolves the model identifier for Twin before sending the reload. Providers routed through LiteLLM receive a provider-qualified model name, such as databricks/<model>, so Twin can route embedding calls to the selected backend. Snowflake Cortex and LiteLLM Proxy keep their bare model names because those backends identify the provider separately. When the active chat provider or chat model changes, Genesis also sends RELOAD_LLM_CONFIG to Digital Twin so Twin-side LLM flows pick up the active runtime. This happens after provider runtime refreshes, including startup, and when the main chat assignment changes in Change Models. Twin’s scanner does not always use the main chat model: Genesis resolves the chat model from llm.twin_scanner_model_tier (default fast) against the provider’s tier assignments and forwards that model instead. Changing the tier through Context graph spend or PUT /api/config/models/twin-scanner-tier persists the setting and re-syncs Twin immediately without a restart. If the explicit chat assignment is cleared, Genesis falls back through the same tier resolution path before notifying Twin. When Genesis Desktop is connected to an organisation’s Genesis, Genesis removes provider credentials from its process environment so child processes such as Twin do not inherit standalone credentials. Twin credential refreshes for providers other than genesis_server are refused before credentials are read; see the credential-resolution API. When Desktop returns to Standalone, Genesis does not put provider credentials back into the environment: provider calls resolve them from APP_CONFIG. If one of these updates happens while FastAPI is still starting, Genesis uses GENESIS_TWIN_STARTUP_NOTIFY_TIMEOUT as the self-call timeout so startup is not blocked waiting on a best-effort Twin reload. The startup timeout defaults to 1 second, and invalid startup values also fall back to 1. Outside startup, the Twin notify timeout remains 30 seconds.

Meetings through Genesis AI

A Genesis connected to Genesis AI that has no Recall.ai connection of its own sends its agents into Zoom, Google Meet and Microsoft Teams calls through Genesis AI, with no setup step. The meeting bot runs under Genesis’s own Recall.ai account, and its time in the call is billed to this Genesis’s Genesis AI. A Recall.ai connection of the company’s own always takes precedence: those meetings run on that account and are not billed through Genesis AI. The Genesis AI row on AI Providers shows which applies under Meetings. To use your own workspace, create a Recall.ai Meeting Bots connection in Config → Connections; see Recall.ai connections for the region, API key, verification secret, and connection test. Genesis keeps as little meeting data as Recall.ai allows in its account:
  • English meetings (the default): no recording media is stored at all (Recall.ai Zero Data Retention). The live transcript, meeting chat and participant events, the shared-screen frames and the agent’s stage page all reach this Genesis in real time, and Recall.ai keeps no audio, video or transcript file afterwards.
  • Meetings in another language, or with language detection (transcript_language other than English): Recall.ai produces that transcript from stored audio, which Zero Data Retention does not support. The recording is kept for one hour after the meeting ends, the shortest Recall.ai allows, and is then deleted by Recall.ai.
Recall.ai keeps the bot’s metadata (its status changes, meeting link and name) under its own policy; Genesis AI keeps the bot’s billing record (its duration and cost, never meeting content). These retention rules are set by Genesis AI and cannot be changed for meetings that go through it. Meeting stage video and voice are on by default for bots sent after a configuration change (meetings.voice_enabled, default true): the bot shows a Genesis stage page as its camera, using Recall.ai Output Media on Recall’s 4-core bot, and the agent can answer out loud in real time when someone in the call speaks to it. Meeting voice is controlled by meetings.voice_enabled itself, not voice.enabled; it needs an available real-time voice source. On server installations, voice.source defaults to auto, which uses Genesis AI when connected; an administrator can instead choose openai and a shared OpenAI (voice) connection in AI Providers. The selected connection is stored in voice.byo_connection (default ""). Without an available source, the agent answers in meeting chat. During a live meeting, the voice can make fast meeting-specific lookups and manage its shared view; other Genesis work goes to the meeting thread. The agent handles that work under the meeting’s authority rules; the voice does not approve or perform destructive actions. See Showing Things in a Meeting for how spoken requests and handoffs appear. Meeting voice has its own listening mode; it does not turn voice on. The default continuous mode sends live audio throughout a one-to-one call, where the voice talks with the other person. In a group call, or while the participant list is unknown, it behaves like addressed: it listens after a transcript line names it and hears that line from its first word, and stays silent unless someone names or asks it something. It moves between these modes as participants join and leave. Listening to live audio uses more voice capacity than addressed. Explicit addressed mode retains its transcript-triggered behavior; meetings whose transcript language is not English continue listening continuously because their transcript may arrive minutes late. Changes apply to meeting voice sessions started after the setting changes.
  • Cost: the stage uses Recall.ai’s 4-core bot, billed at its higher rate: $0.75 an hour instead of $0.65 for meetings through Genesis AI, or your own Recall.ai account’s 4-core rate with your own connection. Live voice sessions add voice usage while they are open.
  • Recall’s bot browser does not provide WebRTC. For those meeting pages, live audio streams through this Genesis server to the voice session and back, using about 100 KB/s per meeting. meetings.max_live_voices limits how many such sessions the server streams at once; when the limit is reached, new meetings answer in chat until a slot is free. Set the limit to 0 to turn off server-streamed meeting voice.
| meetings.voice_provider | str | "gpt_live" | Voice implementation. The optional "nuance" setting uses a Nuance Live persona instead of GPT-Live; it is off by default. Any other value behaves as "gpt_live". Applies to stage pages opened after the change. | | meetings.nuance_persona_id | str | "sam" | With Nuance, choose sam, sonia or mira; empty uses Nuance’s default (sam). | | meetings.nuance_api_key | secret str | Genesis secret secret_nuance_api_key | Required for Nuance mode; Genesis keeps the key server-side and gives the stage page only a one-use session token. | Genesis resolves meetings.nuance_api_key with the access of the person who invited the agent. A key stored through the secret prompt belongs to that user; a shared or system secret is readable by any inviter. Nuance mode requires meetings.nuance_api_key and a stage page with WebRTC. It uses its own face and voice instead of the configured GPT-Live video face, listens to the whole call, and decides when to speak. It hands work to the meeting’s Genesis thread, which runs tools under the usual meeting authority rules and returns the answer for the persona to say. If the key is missing, Nuance refuses for a reason other than exhausted credits, or WebRTC is unavailable, the stage page falls back to GPT-Live for the rest of that meeting. When Nuance is out of credits, the stage instead uses GPT-Live voice without a face and posts one meeting-chat notice with Nuance’s reported credit renewal time (HH:MM UTC); if usage or its renewal time is unavailable, the notice gives no time. As each Nuance persona starts, Genesis reads the organization’s usage; when that usage is available and spendable credits are at or below 10% of the daily allowance, it sends one low-credit heads-up to the meeting thread saying the face may drop soon and the voice will continue without it. The heads-up includes today’s remaining allowance, bought credits and the renewal time when known. These notices are sent once per meeting. Nuance usage consumes Nuance credits while the persona is in the call, and each start counts toward Nuance’s hourly start limit. See Showing Things in a Meeting for the experience in a meeting.
  • To turn it off: set meetings.voice_enabled to false in Advanced Settings, or with GENESIS__MEETINGS__VOICE_ENABLED=false. Bots sent after that join with the Genesis picture.
The invited agent can respond to anyone in the call through meeting chat. When the meeting is over, it writes the person who invited it a brief recap (decisions, action items and links) where they asked for it, otherwise in the conversation they invited it from, and also as a Slack direct message when they asked for it in Slack and their Slack account is linked; turn meetings.recap_at_end off for a recap only when someone asks. Asked to “leave and rejoin”, the agent leaves and joins the same meeting again at once. Meeting agents leave automatically by default after every person who was in the call has left and only bots remain, once the call has been quiet since the last person left. Other services’ notetakers and recorders are recognised as bots by their display name; anyone not recognised as a bot counts as a person. A call that never had a person in it is not left this way. A person rejoining, or anyone speaking or typing, holds the leave. The agent tells the conversation it was invited from; it does not post a message in meeting chat. Configure automatic leave with: With your own Recall.ai connection, the same least-data default applies to your Recall.ai workspace, and an administrator can change it with meetings.recall_retention: The setting applies to bots sent after the change, and only to bots sent with your own Recall.ai connection.

Customer-facing notes

  • If AI Providers shows configured provider cards but chat or auxiliary LLM paths report no active provider, search server logs or Pulse Live Logs for LLM STATE: no active provider, but — Genesis flags this degraded state when llm.active_provider was lost while provider credentials remain. Open Config → AI Providers, set the intended provider as default, and save.
  • When a chat turn fails because the connected provider rejected the request, Genesis surfaces an inline provider-error notice in the thread (see Chat and Threads → AI provider errors). Use Test Connection on the affected provider card and review credentials, model assignments, permissions, and quota before retrying the conversation. A provider HTTP 402 Payment Required response or payment_required error code is classified as quota_exhausted, indicating that provider credit may be exhausted or billing may have lapsed.
  • When chat cannot reach a provider, the inline notice names the failure. In Snowpark Container Services (SPCS), DNS and network failures are reported as External Access Not Configured; check that the provider’s External Access Integration is configured and approved and that the privilege is granted to the Genesis app. Outside SPCS, a DNS notice means the machine running Genesis could not resolve the provider host; check its network and VPN. A network-route notice points to connectivity, VPN, proxy, or firewall issues, while a generic connection notice also calls out the provider endpoint configured under Settings → Configure LLMs.
  • When a provider save or API-key rotation fails Test Connection, Genesis restores the prior working credential automatically. Fix the reported validation error and save again — chat should keep using the last good key until a save succeeds. If the error mentions that previous credentials could not be restored, re-enter the last known-good key manually.
  • When document indexing or semantic search fails after a server restart, search Pulse Live Logs or server logs for failed startup smoke test. Genesis validates the active embedding provider once at boot and logs missing credentials or connection failures before the first index call. See Embedding provider validation and coherence.
  • When Azure OpenAI runs through the LiteLLM engine and a streamed turn produces no first token within providers.azureopenai.settings.stream_fallback_timeout (default 8.0 seconds), Genesis automatically retries that turn once in non-streaming mode before surfacing an error. Disable with providers.azureopenai.settings.stream_fallback: false in Advanced Settings.
  • When Databricks runs through the LiteLLM engine and providers.databricks.settings.stream_fallback is true, Genesis retries a streamed turn once in non-streaming mode when no first token arrives within providers.databricks.settings.stream_fallback_timeout (default 2.0 seconds). Stream fallback is off by default for Databricks — enable it in Advanced Settings or genesis-config.yaml when your serving endpoint needs it.
  • When a streaming turn drops mid-flight because the provider or gateway closed the connection, or returns a brief HTTP 500/502 gateway error (common with AWS Bedrock and LiteLLM Proxy routes), Genesis automatically retries up to llm.transient_error_retries times when no user-visible text or tool calls were produced yet. If retries are exhausted, Genesis posts a Connection Lost notice with retry and smaller-artifact guidance instead of a raw provider stack trace; earlier thread progress is preserved. Tune retry count and backoff in Advanced Settings → LLM transient error retries. Checksum mismatches, access denials, and DNS or external-access failures keep their existing, more specific error messages.
  • If a LiteLLM stream closes before producing any text or tool calls, with no generated completion tokens, Genesis treats it as a dropped connection instead of completing the turn with an empty answer. When the configured transient retry budget permits, Genesis requests the stream again at most once; if that retry also closes empty, Genesis surfaces the Connection Lost notice. User-stopped turns, responses with generated tokens, and provider finish reasons such as length or content_filter are not classified as this empty close.
  • When a blueprint mission exhausts llm.transient_error_retries on a provider rate limit (for example Azure OpenAI, OpenAI, Databricks, or LiteLLM Proxy on the LiteLLM engine), Genesis marks the current phase Stuck in Mission Center, posts the rate-limit error in the mission thread, and stops waiting for the mission timeout watchdog. Review provider quota in Config → AI Providers and resume after limits clear. Tune retry count in Advanced Settings → LLM transient error retries.
  • You can connect one or more providers.
  • Chat and embeddings may use different providers.
  • Configured chat providers also power guided experiences such as the Create Mission blueprint recommendation flow, thread-based blueprint generation (create_blueprint / CREATE_BLUEPRINT_FROM_THREADS), GenesisApps file-write security review, and other auxiliary utility LLM paths (summaries, auto-titling, compression). These paths raise structured provider failures instead of returning provider error text as if it were model output. When the advisor LLM or another auxiliary call cannot complete, Genesis surfaces a clear failure — for example 503 Service Unavailable on the blueprint wizard, a blocked WRITE_FILE when the GenesisApps security judge is unavailable, or a skipped summary for that cycle — rather than treating the outage as a successful empty result. Retry after Test Connection on the affected provider rather than assuming no blueprint fits or that the write was denied on code merits alone.
  • When a LiteLLM-backed provider reports finish_reason=content_filter, Genesis replaces the streamed chat response with The upstream safety filter blocked this response. and discards any tool calls from that response. The same upstream outcome in an auxiliary simple_completion call (such as auto-titling, compression, or blueprint analysis) raises a structured provider_exception with reason content_filter instead of returning filtered or empty model output.
  • The available provider list depends on your deployment and enabled integrations.
  • For streaming chat responses, Genesis scopes Stop to the active chat turn for that user and thread. Genesis honors Stop within a few seconds even when the provider stream stalls silently between chunks, not only while tokens are actively arriving. Stopping one in-flight response does not cancel another user’s or another thread’s concurrent stream when the provider is OpenAI or Azure OpenAI, LiteLLM Proxy, or Snowflake Cortex.
  • For Databricks oauth chat calls, Genesis resolves the acting user’s grant from that turn’s context; a concurrent turn does not use the user context of whichever thread ran most recently.
  • If a saved provider key or external-secret reference cannot be resolved when the page loads, Genesis still shows the provider card, but the credential field appears blank until you update the stored value.
  • For LiteLLM-backed chat, Genesis represents assistant messages with no text content as null rather than an empty string. This keeps tool-call-only turns from becoming empty text parts when LiteLLM converts requests for Google Gemini.
  • When Snowflake Cortex, AWS Bedrock, LiteLLM Proxy, OpenAI, Azure OpenAI, or Databricks (on the LiteLLM engine) is used for chat, Genesis automatically normalizes unsupported top-level tool-parameter JSON Schema combinators before the request is sent. Snowflake Cortex normalizes anyOf, oneOf, and allOf on tool parameters, and also strips unsupported JSON Schema validation keywords from structured JSON output schemas (response_format with json_schema or json), including maxItems, minItems, uniqueItems, minLength, maxLength, pattern, format, minimum, maximum, exclusiveMinimum, exclusiveMaximum, and multipleOf. Cortex Anthropic/Claude models do not accept OpenAI’s schema-less json_object response format; Genesis omits response_format for those models on utility structured-output calls and relies on JSON-only prompts with parse retry instead. AWS Bedrock and LiteLLM Proxy strip top-level anyOf, oneOf, allOf, and not, then append a short schema note to the tool description so the model still sees the intended requirement in natural language. OpenAI, Azure OpenAI, and Databricks on the LiteLLM path strip top-level anyOf, oneOf, and allOf from tool parameters. On Databricks Claude serving endpoints (model identifier contains claude, case-sensitive), LiteLLM does not forward response_format with json_schema; it rewrites the schema into a forced synthetic tool call and drops response_format, which also displaces the agent’s real tools on chat turns. Genesis withdraws response_format and inlines the JSON Schema into the last user turn with a JSON-only instruction instead. For AWS Bedrock, Twin-side structured outputs (for example the Data Estate overview headline and key points on the Digital Twin wiki pane) also strip JSON Schema validation keywords that Bedrock rejects, including maxItems, minItems, minLength, and maxLength; Twin enforces equivalent limits after parsing the response (for example up to five key points and three caveats on the estate overview).
Tool-count limits apply to each request. OpenAI, Azure OpenAI, and Genesis AI use a 128-tool cap, and OpenAI-family models use 128 on any provider. On Databricks, Snowflake Cortex, and LiteLLM Proxy, recognized non-OpenAI model families (including Claude, Gemini, Llama, Mistral, DeepSeek, and Qwen) use the default 256-tool cap; for Databricks, the model name must start with databricks-. Unknown or unclassified models use 128 on those three providers. Other providers use the default 256-tool cap. A positive MAX_TOOLS environment variable overrides these caps for requests without tool changes. Tool-change requests declare the catalogue and do not trim the tool array to this cap; if a thread switches to a model without tool changes, that request uses the model’s cap as usual. Genesis bounds bot default auto-loads by tool-group count only: by default, new-thread defaults can auto-load up to 12 tool groups, adjustable with CONTEXT_DEFAULTS_MAX_TOOL_GROUPS. The total number of tool functions those groups contain is not capped by default — the provider limits above are the only ceiling.