mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-19 09:50:15 +01:00
🤖 feat: GPT-4.1 (#6880)
* fix: Agent Builder setting not applying in useSideNavLinks * fix: Remove unused type imports in useSideNavLinks * feat: gpt-4.1 * fix: Update getCacheMultiplier and getMultiplier tests to use dynamic token values * feat: Add gpt-4.1 to the list of vision models * chore: Bump version of librechat-data-provider to 0.7.792
This commit is contained in:
parent
64bd373bc8
commit
52b3ed54ca
9 changed files with 224 additions and 48 deletions
|
|
@ -62,8 +62,6 @@ const SidePanel = ({
|
|||
() => getEndpointField(endpointsConfig, endpoint, 'type'),
|
||||
[endpoint, endpointsConfig],
|
||||
);
|
||||
const assistants = useMemo(() => endpointsConfig?.[endpoint ?? ''], [endpoint, endpointsConfig]);
|
||||
const agents = useMemo(() => endpointsConfig?.[endpoint ?? ''], [endpoint, endpointsConfig]);
|
||||
|
||||
const userProvidesKey = useMemo(
|
||||
() => !!(endpointsConfig?.[endpoint ?? '']?.userProvide ?? false),
|
||||
|
|
@ -84,10 +82,8 @@ const SidePanel = ({
|
|||
}, []);
|
||||
|
||||
const Links = useSideNavLinks({
|
||||
agents,
|
||||
endpoint,
|
||||
hidePanel,
|
||||
assistants,
|
||||
keyProvided,
|
||||
endpointType,
|
||||
interfaceConfig,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue