🧹 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:
Danny Avila 2026-01-28 11:59:20 -05:00 committed by GitHub
parent ddf85b3470
commit 95a234fb83
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
});