🔗 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:
Danny Avila 2025-01-04 20:36:12 -05:00 committed by GitHub
parent 766657da83
commit 7987e04a2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 370 additions and 48 deletions

View file

@ -128,7 +128,10 @@ export default function useTextarea({
? getEntityName({ name: entityName, isAgent, localize })
: getSender(conversation as TEndpointOption);
return `${localize('com_endpoint_message')} ${sender ? sender : 'AI'}`;
return `${localize(
'com_endpoint_message_new',
sender ? sender : localize('com_endpoint_ai'),
)}`;
};
const placeholder = getPlaceholderText();