Skip to content

📋 docs: Managing user-provided API keys with Model Specs - #630

Closed
danny-avila wants to merge 1 commit into
mainfrom
danny-avila/docs-provider-api-keys
Closed

danny-avila wants to merge 1 commit into
mainfrom
danny-avila/docs-provider-api-keys

Conversation

@danny-avila

Copy link
Copy Markdown
Collaborator

Summary

Documents how end users manage user-provided API keys when Model Specs are configured, matching the new Settings behavior added in LibreChat PR LibreChat-AI/LibreChat#13864.

Edits content/docs/configuration/librechat_yaml/object_structure/model_specs.mdx:

  • Adds a Callout right where the docs explain that Model Specs hide modelSelect. It clarifies that users can still set/rotate keys for apiKey: "user_provided" endpoints from Settings → Data controls → API keys, and that this list is scoped to the endpoints a user can actually reach — the specs' endpoints plus addedEndpoints, expanding to the agent allowedProviders when the agents endpoint is reachable.
  • Adds agents to the documented set of valid addedEndpoints values (it is schema-valid and is referenced by the new behavior).

Why

Before, when modelSpecs.list was set, interface.modelSelect defaulted to false, hiding the endpoints dropdown and the gear icon that opened the Set API Key dialog — leaving no way to enter or rotate a user_provided key. The companion code PR surfaces that flow in Settings and scopes it like the model selector / mention popover; these docs explain it.

Notes

Document that user-provided endpoint keys can be set or rotated from
Settings → Data controls → API keys even when Model Specs hide `modelSelect`,
and that the list is scoped to reachable endpoints (spec endpoints +
`addedEndpoints`, expanding to agent `allowedProviders` when agents is
reachable). Also lists `agents` as a valid `addedEndpoints` value.

Companion docs for LibreChat #13864.
@vercel

vercel Bot commented Jun 20, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
librechat-ai Ready Ready Preview, Comment Jun 20, 2026 2:38pm

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

📦 Next.js Bundle Analysis for librechat.ai

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@berry-13

Copy link
Copy Markdown
Collaborator

Thanks for this, @danny-avila! This is now covered by #666, which adds the "Managing user-provided API keys with Model Specs" callout to model_specs.mdx. Closing as superseded.

@berry-13 berry-13 closed this Jun 23, 2026

This branch was successfully deployed

1 active deployment
Preview — 1ffcf639 Deployed Jun 20, 2026 by vercel[bot]
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.

2 participants