mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-29 22:05:18 +01:00
🧹 refactor: Remove context-1m header filtering from Vertex Endpoint (#11551)
* Removed the filtering logic for 'context-1m' headers in the filterVertexHeaders function, streamlining header processing.
This commit is contained in:
parent
ddf85b3470
commit
95a234fb83
1 changed files with 0 additions and 4 deletions
|
|
@ -112,10 +112,6 @@ function filterVertexHeaders(headers?: Record<string, string>): Record<string, s
|
|||
if (v.includes('token-efficient-tools')) {
|
||||
return false;
|
||||
}
|
||||
// Remove context-1m headers
|
||||
if (v.includes('context-1m')) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue