Model Keys and Detection
The credentials section in Large Model Settings offers two key sources: API Key (Preferred) and API Key Environment Variable (Fallback). Enter at least one; the API Key is used first. For the environment variable, enter the variable name rather than the key itself, and make sure the variable exists when the local service starts so the page can recognize an available key.

A saved API Key is normally displayed masked, with the last six characters retained; click the eye button to the right of the input field to show or hide it. If the key comes from an environment variable, the page can only treat it as configured and cannot expand it here to view the original value. If a key has already been saved, leaving the input field blank and saving again will continue to use the original key.
"Test Connection" uses the content currently entered on the page to send a Responses API request; you do not need to save first. During the test, the button displays "Testing…"; on success, it indicates that the connection succeeded and lists the model used and the time taken; on failure, it displays the error reason on the page. The test result does not replace saving, and the badge at the top will not change merely because the test succeeded.
After confirming that the credentials are available, click "Save Settings". The new key will be applied, the current model remains enabled, the page displays the mask again, and the default model status and tool availability status update immediately. The page has no separate disable switch; "Save Settings" is the entry point for continuing to use the current configuration as the default model and putting it into use.