Repository navigation
🤖 docs: Update the Endpoint and Agent librechat.yaml Reference - #863
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2b11f3c8bb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| ]} | ||
| /> | ||
|
|
||
| **Default:** `2` for `assistants`, `1` for `azureAssistants` |
There was a problem hiding this comment.
Correct the Azure Assistants parsed default
Clarify that an existing azureAssistants block does not currently default to version 1. Both assistants and azureAssistants use assistantEndpointSchema, whose version field has a schema default of 2; therefore adding an Azure block for another setting while omitting version produces version 2, and the endpoint-specific fallback of 1 is only reachable when no parsed version exists. Users relying on this statement must explicitly set version: 1.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Partly right, fixed in 9ba7376: assistantsConfigSetup keeps the default version 1 only when endpoints.azureOpenAI.assistants loaded the Azure defaults (packages/data-schemas/src/app/endpoints.ts:44-53); otherwise it is 2. Both the table and the Default line now say so.
| 'maxEnvironmentChoices', | ||
| 'Integer', | ||
| 'Maximum additional machine choices saved on one agent (1-128).', | ||
| 'Unset', |
There was a problem hiding this comment.
State the effective environment-choice default
Replace Unset with the effective default of 32. The same release's configuration changelog explicitly says maxEnvironmentChoices defaults to 32 with a ceiling of 128, so this reference currently implies that omitting the field leaves no configured limit even though users will encounter the 32-choice cap.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in 9ba7376: the default is 32 (DEFAULT_AGENT_CODE_ENVIRONMENT_CHOICES).
|
|
||
| **Example:** | ||
| ```yaml filename="endpoints / azureOpenAI / groups / {group_item} / models / {model_item=Object} / assistants" | ||
| assistants: true |
There was a problem hiding this comment.
Remove the ignored model-level assistants example
Do not demonstrate assistants: true on a model object. Although the schema accepts this property, Azure Assistant models are selected only from groups whose group-level assistants flag is enabled, as the description immediately above already notes. A user copying this example while leaving the group flag unset gets no Azure Assistant models, so move the example to the group-level section or remove it.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in 9ba7376: the example now shows the flag on the group, where it takes effect.
35af0fd to
c472c91
Compare
Check the agents, summarization, Azure, Vertex, Bedrock, assistants, custom endpoint, model spec and shared endpoint pages, plus the AI endpoint guides, against the LibreChat config schemas: fix wrong keys and defaults, remove keys the server no longer reads and document the missing ones.
Protocol version 1 is advertised when CODE_ENVIRONMENT_DECISION_VERSION is unset, so a rolling upgrade must set it to 0 before the first new replica starts and remove it once every replica is upgraded.
…ants flag azureAssistants falls back to version 1 only when endpoints.azureOpenAI.assistants is enabled. maxEnvironmentChoices defaults to 32. Show the assistants flag on the group, where it takes effect, rather than on a model.
c472c91 to
c491b49
Compare
📦 Next.js Bundle Analysis for librechat.aiThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
Summary
Checks the endpoint and agent half of the
librechat.yamlreference (agents, summarization, Azure OpenAI, Anthropic on Vertex, Bedrock, assistants, custom endpoints and parameters, model config and specs, shared endpoint settings) and the AI endpoint guides against the LibreChat config schemas. It fixes wrong keys and defaults, removes keys the server no longer reads, and documents the missing ones.Stacked on #862; review only this PR's diff.
Change Type
Testing
packages/data-provider/srcand its consumers on LibreChatdev, then rechecked by a second independent passChecklist