Skip to content

docs: improve model configuration guidance - #783

Open
DevinVinson wants to merge 3 commits into
mainfrom
dv/mintlify-august-docs-plan
Open

docs: improve model configuration guidance#783
DevinVinson wants to merge 3 commits into
mainfrom
dv/mintlify-august-docs-plan

Conversation

@DevinVinson

Copy link
Copy Markdown
Member

Summary

Implements the provider-configuration priorities from #782.

  • Add a task-first Agent Canvas model configuration guide.
  • Document reusable Provider Connections for shared provider keys and optional base URLs.
  • Expand OpenRouter setup and recovery guidance.
  • Improve routing between LLM profiles, local models, troubleshooting, skills, MCP, plugins, and automations.

Validation

  • Parsed docs.json as JSON.
  • Verified internal documentation-page links in changed MDX files.
  • Ran git diff --check.

Closes #782

This pull request was created by an AI agent (OpenHands) on behalf of the user.

@mintlify

mintlify Bot commented Sep 8, 2026

Copy link
Copy Markdown

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
all-hands-ai 🟢 Ready View Preview Sep 8, 2026, 3:25 PM

💡 Tip: Enable Automations to automatically generate PRs for you.

When you are ready to go beyond the default setup, choose the mechanism that fits the task:

- Add repository-wide guidance with [`AGENTS.md`](/overview/skills/repo) for each Workspace.
- Add reusable task instructions with [Skills](/overview/skills).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a big deal perhaps, just to note: my impression is that “everyone knows” AgentSkills, and it feels likely a better term than the syntagm “reusable task instructions” - but I’m OK with this too 😅

| An API key from Anthropic, OpenAI, Google, or another provider | **Basic** | Select the provider and model, then add its API key or reuse a Provider Connection. |
| An OpenHands LLM API key | **Basic** | Select `OpenHands`, choose a model, then add the key or reuse a Provider Connection. |
| A local OpenAI-compatible server | **Advanced** | Enter the provider and exact model ID, then add its base URL/key or reuse a Provider Connection. |
| A LiteLLM proxy | **Advanced** | Use the `litellm_proxy/` model prefix, then add its proxy URL/key or reuse a Provider Connection. |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may be happier when this goes back to a single what-to-do, and that is Provider Connection.

### Link a Profile to a Provider Connection

In the profile editor, use the **provider-connection selector** to link a profile to an existing connection. When a profile is linked, its inline API key and base URL fields are hidden — the profile uses the connection's credentials instead.
When you add or edit an LLM profile, choose a saved connection in the **Provider Connection** selector. Select **None** to use credentials specific to that profile instead. When a profile is linked, its inline API key and base URL fields are hidden — the profile uses the connection's credentials instead.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very interesting to me: I have used for ~several months a behavior where you could either

  • reuse the existing API key for that provider (more raw but the same behavior with Provider Connections)
  • or, check a box to say “nah I want to override for this profile”, and then enter a profile-specific key.

It has been necessary to have that override so that I can use two accounts from the same provider. But fast forward to today in OpenHands, if more than one Provider Connections can be made for a provider, e.g. openai_personal and openai_work, then the old way with a key in the profile can be cleaned out. WDYT?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't quite follow @enyst . Or maybe I do...now that I'm typing this out. Are you suggesting we remove the API key field unless they opt-in by checking a box to fill in an API key? I think thats what I'm visualizing.

Separately I think this is in a sort of in-between state of doneness. Provider connection THEN LLM profiles is the intuitive step but its not super clear easy flow yet.

Comment thread openhands/usage/agent-canvas/model-configuration.mdx Outdated
---

## Configuration
Use OpenRouter when you have an OpenRouter API key and want to access a model from its [model catalog](https://openrouter.ai/models). Use a direct provider profile when you already have credentials for that provider, a local endpoint for a model server you run, or a LiteLLM proxy when your organization provides one.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Use OpenRouter when you have an OpenRouter API key and want to access a model from its [model catalog](https://openrouter.ai/models). Use a direct provider profile when you already have credentials for that provider, a local endpoint for a model server you run, or a LiteLLM proxy when your organization provides one.
Use OpenRouter when you have an OpenRouter API key and want to access a model from its [model catalog](https://openrouter.ai/models).

No strong feelings about it, but if you are on OpenRouter page, I wonder, is it necessary?

Co-authored-by: Engel Nyst <engel.nyst@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Suggested Documentation Changes from August 2026 Analytics Audit

2 participants