652
* `user-agent` (transformed via {@link transformUserAgent}).
653
*/
654
>
function buildOutboundHeaders(inbound: http.IncomingHttpHeaders): Record<string, string> {
claudeProxyService.ts
655
>
const out: Record<string, string> = {};
656
>
const version = inbound['anthropic-version'];
657
>
if (typeof version === 'string' && version.length > 0) {
658
out['anthropic-version'] = version;
659
}
661
>
if (typeof beta === 'string' && beta.length > 0) {
662
const filtered = filterSupportedBetas(beta);
663
if (filtered !== undefined) {