Skip to main content
This guide applies to platform versions with Integrations → Model connections. Older versions may still place this entry in Space settings; follow the interface in your version. A model connection is a shared configuration within the current Space. It stores the service address, model, and credentials. Each feature selects its own connection and manages its own prompts and runtime parameters. LLM diagnosers and semantic checks currently use these connections. Creating one does not set a universal default model or automatically run inference on observation data. Your Coding Agent still manages its own model account. Saved rule-based diagnosers run without a model connection. Start with your first diagnosis. For existing model usage that needs pricing evidence, use Integrations → Model pricing. It requires no model API key. Follow complete model costs.

Prepare the connection details

Space members can view connections. Creating, editing, deleting, fetching models, and running tests require administrator or developer permission in the target Space. Prepare the model service’s API key. This is different from an AI Vision query SpaceKey. For a custom service, also prepare its OpenAI Chat Completions-compatible Base URL and exact model ID. The platform service sends model requests. Opening the provider’s website in your browser does not prove that the server running the platform can reach its API.

Find a connection and inspect its details

Select the target Space and open Model connections under Integrations in the sidebar. The inventory shows that Space’s shared connections. Search by connection name, model name, or endpoint, and filter by Connected, Connection failed, or Not tested. This filter uses connection status, not the basic diagnostic result. Select a connection name to open its details: Last connection test shows Not recorded because the platform does not store a separate probe time. Neither the update time nor the diagnostic validation time is a connection-test timestamp. Saved connection status does not establish real-time availability. If references fail to load or show an unknown count, retry; this does not mean there are zero references.
English model connection inventory showing the current Space, search, connection-state filter, and referencesEnglish model connection inventory showing the current Space, search, connection-state filter, and references

Shared model connections in the current Space · Search, connection status, and references · Real local platform · Click to enlarge

An old bookmark such as /settings?tab=models&spaceId=<space-id> redirects to the new inventory and retains its Space. Replace <space-id> with your Space ID. Existing connections, credentials, and diagnoser references are reused; no recreation is needed. Other Space settings tabs keep their purpose.

Create and test

  1. Select the target Space and open Integrations → Model connections → New model connection.
  2. Choose a Provider. The form fills in the default Base URL. If an API region selector appears, choose the region that matches your key. You can always edit the default address.
  3. Select Get API key to open the provider’s key management page. Copy your own key into API Key.
  4. Select Fetch models, then search for and choose a model. You can also enter the exact model ID directly. Where fetching is unavailable, choose a preset suggestion or enter the ID manually.
  5. Check the generated Connection name, change it if needed, and save. The connection appears in the current Space inventory. Open its details and choose Test connection or Diagnostic validation for your purpose. Saving alone does not call the model or select the connection for each feature.
Fetching models successfully only confirms that the list request succeeded. It does not establish inference permissions, available credit, or valid diagnostic output. Preset suggestions have not been checked against your account permissions either.
English shared model connection form showing provider, Base URL, API key, model, and connection nameEnglish shared model connection form showing provider, Base URL, API key, model, and connection name

Model connection form · Choose a provider, address, and model · Real local platform · Click to enlarge

Manage connections while editing a diagnoser

Select Manage Connections in the diagnoser form to open the inline manager. Closing it preserves unsaved prompts, runtime parameters, and loaded Trace materials. After creating a connection here, return to the diagnoser with that new connection selected. Saving the connection does not save the diagnoser or validate its current prompt. Run a trial, review the result, then save the diagnoser.

Providers, regions, and custom addresses

The platform currently offers 11 provider presets and Custom · OpenAI compatible. Chinese lists DashScope, DeepSeek, Zhipu, and SiliconFlow first; English and Japanese list OpenAI, Anthropic, Gemini, OpenRouter, and NVIDIA first. All languages offer the same providers; only their order differs. When you first select a provider with multiple regions, Chinese defaults to China, while English and Japanese default to the international or Singapore region. Changing the language does not change an address, region, or model you have already selected. Check the region associated with your account instead of relying on the default.
These are platform presets, not evidence that every model has passed a real diagnostic test. Available models and account access depend on the provider’s current responses and your validation results.
  • DashScope is the service provider; Qwen is one of its model families. You can select other returned models or enter an ID supported by the service.
  • SiliconFlow currently uses the China .cn address in its preset. Do not combine it with a key for another region.
  • Anthropic uses the official OpenAI-compatible API with Claude’s default sampling and reasoning settings. Keys that require multiple workspaces are not currently supported.
  • NVIDIA uses a NVIDIA Build API key and the hosted endpoint in the table above.
  • Custom services: select Custom or edit the Base URL directly, for example https://model.example.invalid/v1. This address is only a placeholder. Enter the compatible API root without /chat/completions; do not enter a browser chat URL or a native Messages or Responses address. Custom addresses require a manually entered model ID; the platform does not fetch model lists from arbitrary addresses.

Check connectivity

From the inventory’s action menu or the connection details, select Test connection → Run connection test. The platform sends 1 request to the saved model, which may consume tokens. This checks connectivity without running diagnostic validation. Success changes the connection status to Connected. On failure, follow the message to check the key, address, permissions, quota, or network. You can run a connection test and diagnostic validation independently. A successful connection test does not turn an existing diagnostic report into a pass. Other features must also verify their own actual use of the connection.

Validate basic diagnostic capability

After saving the connection, select Diagnostic validation → Run validation from its action menu or details. The system uses the real diagnosis workflow to check two fixed text samples:
  • Positive example: request Return exactly READY., reply READY; expected verdict: Completed.
  • Negative example: the same request, reply BUSY; expected verdict: Not completed.
Both examples must receive the correct verdict, a valid diagnostic format, and valid evidence citations. Each validation sends at most 2 real model requests and consumes tokens. There is no additional connectivity probe or automatic retry. Thinking models may use more output tokens. Defaults are an output limit of 4096 tokens per request, temperature 0, default thinking and reasoning settings, and a 45-second timeout per request. This is not a guarantee of the total validation duration. Start with the defaults; if output is truncated or parameters are incompatible, expand Advanced test settings to adjust them.
These parameters apply only to this validation; they do not change the diagnoser’s settings. Provider support varies. For the official Anthropic address, temperature, thinking, and reasoning controls are disabled and Claude’s defaults apply. You can still adjust the output limit and timeout.
English model connection Validation results tab showing the current diagnostic report, sample results, test settings, and usageEnglish model connection Validation results tab showing the current diagnostic report, sample results, test settings, and usage

Current saved diagnostic report · Built-in synthetic positive and negative examples · Reading saved results without another model call · Click to enlarge

The connection name, address, model, test settings, and usage shown come from an isolated test environment. They illustrate the interface, not a recommended configuration or cost guarantee. If you use OpenRouter’s openrouter/free, it is a routing alias that may select a different model later. A passing result does not guarantee continued availability or diagnostic quality.

Interpret connection status

Connection status and basic diagnostic results appear separately. Connected and Basic diagnosis · Failed can appear together: the API accepted the request, but the model did not produce a valid diagnostic result. The Validation results tab shows the current report’s validation time, effective test settings, per-sample results, request count, and token usage. Saving a new diagnostic report replaces the current report instead of adding a history entry. Usage not returned by the provider appears as unknown, not zero. Refreshing the page only reads the saved report; it does not call the model again.

The test passes but diagnosis still fails

A basic pass applies only to the fixed text samples and recorded test parameters. It does not replace testing the current diagnoser’s prompt, parameters, and actual Trace, or establish tool, image, or long-context capability.
  1. Create or edit the target LLM diagnoser, configure its prompt, review its metrics, and select the runtime model you just validated. Metrics are read-only in this form: new diagnosers default to quality, and edits preserve existing metric definitions.
  2. Choose a representative Trace in Test and Validate. If entering a Trace ID manually, press Enter and wait for the materials to load.
  3. Select Run Diagnosis. Check that the verdict, reasons, and evidence fit that Trace. Use both known good and known bad samples.
  4. After checking the results, save the diagnoser and add it to a diagnosis task.
A passed basic diagnosis does not automatically mark the current diagnoser as Validated. In the trial section, Validated means that the trial successfully returned a valid diagnostic result; an abnormal result can mean that it correctly identified a bad sample. Neither type of validation automatically creates a diagnosis task.

Resolve the reported cause

When reporting a problem, include the connection name, validation time, and on-screen error message. Remove the full API key and sensitive business materials.

Update or delete

When editing, leaving API Key blank retains the saved credential only if the Base URL is unchanged. Changing the Base URL requires a key for the new address. Switching providers or regions clears the key you entered and the model selection, so check them again. When changing the address, model, or API key, the form shows Review affected configurations before saving. Check the listed references, then select Save connection changes. Changes to this shared connection affect subsequent runs of those configurations; each feature still manages its own prompts and runtime parameters. Retry if references fail to load; do not treat a failed lookup as no references. Saving connection changes from the edit form clears the previous basic validation result. Run diagnostic validation again and trial the affected diagnosers, especially after changing the address, model, or key. Basic validation parameters are not automatically copied to the actual diagnoser. Open References and check the diagnosers using a connection before deleting it. Referenced connections cannot be deleted, including those used by diagnosers that are not yet part of a task. Select another runtime model for each referencing diagnoser first, then delete the old connection. Changes affect subsequent execution; use the record from the relevant run when reviewing earlier results.