ManimCat / src /utils /request-client-id.ts
Bin29's picture
Sync from main: ba499dd fix: omit empty studio tool call arrays
23d991d
import type express from 'express'
export function getRequestClientId(req: express.Request): string | undefined {
const clientId = String(req.headers['x-client-id'] || '').trim()
return clientId || undefined
}