mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-18 16:35:31 +01:00
🔗 feat: Convo Settings via URL Query Params & Mention Models (#5184)
* feat: first pass, convo settings from query params * feat: Enhance query parameter handling for assistants and agents endpoints * feat: Update message formatting and localization for AI responses, bring awareness to mention command * docs: Update translations README with detailed instructions for translation script usage and contribution guidelines * chore: update localizations * fix: missing agent_id assignment * feat: add models as initial mention option * feat: update query parameters schema to confine possible query params * fix: normalize custom endpoints * refactor: optimize custom endpoint type check
This commit is contained in:
parent
766657da83
commit
7987e04a2c
19 changed files with 370 additions and 48 deletions
|
|
@ -144,6 +144,10 @@ export default function useSelectMention({
|
|||
if (assistant_id) {
|
||||
template.assistant_id = assistant_id;
|
||||
}
|
||||
const agent_id = kwargs.agent_id ?? '';
|
||||
if (agent_id) {
|
||||
template.agent_id = agent_id;
|
||||
}
|
||||
|
||||
if (isExistingConversation && isCurrentModular && isNewModular && shouldSwitch) {
|
||||
template.endpointType = newEndpointType;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue